The reports about the sun returning are not uniform, and that deserves to be acknowledged rather than concealed. Their disagreement weakens the case for treating this story as firmly established, but it does not amount to a contradiction in the Quran or a problem for Islam itself.

What the objection is pointing out

One version of the report says that the Prophet Muhammad (PBUH) was asleep with his head resting on Ali's lap when the sun set. Another version connects the delay of the prayer to revelation coming to the Prophet (PBUH). If both accounts are meant to describe the same precise moment, they do not fit easily together: ordinary sleep and the descent of revelation are different descriptions.

This is a fair criticism of the reports as transmitted. A responsible reader should not pretend that every wording is identical or that every chain has equal strength. The reports appear in works such as al-Tahawi's Sharh Mushkil al-Athar and al-Tabarani's collections, with differing wordings and routes of transmission.

What the disagreement actually establishes

It establishes that this particular miracle report is disputed at the hadith level. Some scholars defended it by considering its various routes together, while other hadith critics judged its chains weak or found the wording problematic. Therefore, it should not be used as though it were a report of the same certainty as a widely transmitted teaching in Sahih al-Bukhari or Sahih Muslim.

It does not establish that the Prophet (PBUH) was caught in a proven lie, nor that Islam requires belief in one fixed version of this incident. A difference can arise because a narrator paraphrased what he heard, because two related reports were combined, or because a later transmitter preserved an imprecise wording. Those possibilities do not make the contradiction disappear, but they explain why hadith criticism examines chains and wording rather than assuming that every circulating version is equally authoritative.

What Islam actually requires us to affirm

The Quran does not mention this event. Its central claims do not depend on it, and the obligation of the prayer is established by many clearer and stronger texts. The Quran also teaches intellectual honesty:

"And do not pursue that of which you have no knowledge. Indeed, the hearing, the sight and the heart - about all those will be questioned."

Quran 17:36

That principle applies here. One may accept the report if persuaded by the supporting evidence, or suspend judgment because of the weakness and variation in its transmissions. Neither position threatens the foundations of Islam.

So the plain answer is: the conflicting descriptions are a genuine weakness in the story's transmission and prevent certainty about its details. They do not refute the Quran, invalidate the Sunnah as a whole, or show that Islam depends on this disputed narration.