Yahya related to me from Malik from Nafi from Abdullah ibn Umar that the Messenger of Allah ﷺ said, "You should not intend to pray either at sunrise or sunset."
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ لاَ يَتَحَرَّ أَحَدُكُمْ فَيُصَلِّيَ عِنْدَ طُلُوعِ الشَّمْسِ وَلاَ عِنْدَ غُرُوبِهَا