From Sahih Muslim (Hadith 1926):
Ibn 'Umar reported Allah's Messenger (ﷺ) as saying:When the rim of the sun starts appearing defer prayer till it completely appears, and when the rim of the sun disappears defer prayer till it completely disappears
Reference: Muslim 1926