Asma, Allah be pleased with him, narrated that Revelation was being sent down to the Prophet ﷺ and his head was on the lap of ‘Ali ibn Abi Talib, Alayhis Salam; and he had not prayed Asr as of yet and the sun was starting to set at that moment.
The Prophet ﷺ asked: “O ‘Ali have you prayed [Asr yet]?”
He replied: “No.”
Thus, at this occurrence the Prophet ﷺ made a plea in the court of Allah, supplicating:
“O Lord, he, Ali, was busy in service of You and your Messenger, therefore return the sun back for him [so he can pray Salat].”
Asma, Allah be pleased with her, said:
I saw the sun starting to set, but then I saw it rise back up again and daylight became visible upon the mountains and the land around it.
It is known that this incident took place near Khaybar.
Related by Imam Jalaluddin al-Suyuti, who said:
“This is Hassan/good and Imam Ibn Jawzi tried to say it was fabricated but he was mistaken.” (Related in the Tafsir al-Durr al-Manthur fi Tafsir bil-Ma’thur/The Scattered Pearls: Inter-textual Exegesis}
Hafiz Ibn Hajar Asqalani said in his explanation of Sahih al-Bukhari – Fath al-Bari:
“‘Ibn Taymiyyah and Ibn Jawzi were mistaken when they called this Hadith fabricated.”
Imam al-Tabarani also narrates that the narration is authentic in his book – Mu’jam al-Kabir)