Sahih Muslim #829
The Book of Prayer - Travellers 6:354
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.