The Messenger of Allah ﷺ said, "When the upper edge of the sun appears, hold off from prayer until it has fully risen, and when the upper edge of the sun begins to set, hold off from prayer until it has completely set."
حدثنا محمد أخبرنا عبدة عن هشام بن عروة عن أبيه
قال رسول الله ﷺ إذا طلع حاجب الشمس فدعوا الصلاة حتى تبرز وإذا غاب حاجب الشمس فدعوا الصلاة حتى تغيب