Sahih Muslim, Book 6, Hadith 354 (Muslim 1909)

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.