Joshua and ʿAlī are each remembered as the man who came after a prophet, and for each the sun is said to have obeyed. The Bible makes Joshua Moses's successor and has the sun stand still at Gibeon until Israel had beaten its enemies; in the ḥadīth radd al-shams, “the return of the sun”, it rises again after setting so that ʿAlī can pray the afternoon prayer. The link is drawn in the sources: Shia reports and poetry set ʿAlī, the waṣī of Muhammad, beside Joshua, the waṣī of Moses, and give the sun to both. Sunni scholars weigh the two sun miracles against each other and against a hadith in Musnad Aḥmad that the sun was held back for no human but Joshua; some accept the report about ʿAlī, others call it fabricated.
Side by side
Hebrew BibleJewish tradition
Joshua 10: “Sun, stand thou still”
Five Amorite kings had attacked Gibeon, and Joshua came to its relief. Then, Joshua 10 says, “spake Joshua to the LORD … and he said in the sight of Israel, Sun, stand thou still upon Gibeon; and thou, Moon, in the valley of Ajalon. And the sun stood still, and the moon stayed, until the people had avenged themselves upon their enemies. Is not this written in the book of Jasher? So the sun stood still in the midst of heaven, and hasted not to go down about a whole day. And there was no day like that before it or after it, that the LORD hearkened unto the voice of a man: for the LORD fought for Israel” (Joshua 10:12–14). Joshua speaks to God, and then gives his command to the sun and moon. The sun stops “in the midst of heaven”, at midday, not at evening. Habakkuk's psalm has the same image: “The sun and moon stood still in their habitation” (Habakkuk 3:11). Rashi notes that the verse was explained as referring to the war of Gibeon, as the Targum paraphrases it. For the battle itself and the Galileo affair, see Joshua's entry (“The sun stood still”, “The sun that stood still”).
Joshua 10:1–15 · Habakkuk 3:11 · Rashi on Habakkuk 3:11
ApocryphaHebrew Bible
Ben Sira: “Did not the sun go back?”
The Wisdom of Ben Sira, written in Hebrew in the early 2nd century BC and translated into Greek, is part of the Catholic and Orthodox Old Testament and of the KJV's Apocrypha. It praises Joshua among the famous men and asks: “Did not the sun go back by his means? and was not one day as long as two?” (Sirach 46:4, KJV). The Greek verb, anepodisen, means that the sun went back or retreated, not only that it stopped. So one ancient reading of Gibeon already speaks of the sun going back, as the hadith about ʿAlī does. The Bible's other miracle in which the sun turns back is Hezekiah's sign, when the shadow on the dial of Ahaz went back ten degrees: “So the sun returned ten degrees, by which degrees it was gone down” (Isaiah 38:8; 2 Kings 20:9–11).
Sirach 46:1–4 · Isaiah 38:7–8 · 2 Kings 20:8–11
Sunni hadithTafsir
The hadith: “You are commanded, and I am commanded”
Al-Bukhārī and Muslim record from Abū Hurayra that the Prophet told of one of the prophets (nabiyyun min al-anbiyāʾ) who went out to fight. He reached the town at or near the time of the afternoon prayer and said to the sun, innaki maʾmūratun wa-anā maʾmūr, “you are commanded, and I am commanded”. Then he prayed, Allāhumma iḥbishā ʿalaynā, “O God, hold it back for us”. The hadith goes on, fa-ḥubisat ḥattā fataḥa llāhu ʿalayhi, “it was held back until God gave him the victory” (Bukhārī 3124; Muslim 1747). The prophet is not named there. A report from Abū Hurayra in Musnad Aḥmad names him and makes the miracle unique: inna l-shamsa lam tuḥbas li-basharin illā li-Yūshaʿa layāliya sāra ilā Bayt al-Maqdis, “the sun has not been held back for any human except Yūshaʿ, in the nights when he marched to Jerusalem” (Aḥmad 8315). The Dār al-Salām edition grades its chain sound (isnāduhu ṣaḥīḥ), al-Albānī included it in his Silsila of sound hadith, and Ibn Ḥajar, in Fatḥ al-bārī, called it sound (ṣaḥīḥ). The commentators followed it: al-Qurṭubī identifies this prophet as Yūshaʿ b. Nūn. Ibn Kathīr's commentary adds why he asked: the town fell on a Friday afternoon, and Yūshaʿ feared the Sabbath would begin before the fighting was over. See Joshua's entry, “The sun held back”.
Ṣaḥīḥ al-Bukhārī 3124 · Ṣaḥīḥ Muslim 1747 · Musnad Aḥmad 8315 · al-Albānī, Silsilat al-aḥādīth al-ṣaḥīḥa · Ibn Ḥajar, Fatḥ al-bārī 6 (on Bukhārī 3124) · al-Qurṭubī, al-Mufhim (on Muslim 1747) · Ibn Kathīr, Tafsīr on Qurʾan 5:26
Sunni hadith
Asmāʾ bint ʿUmays: “I saw it rise after it had set”
The report about ʿAlī is told by Asmāʾ bint ʿUmays. In the form given by al-Ṭaḥāwī (d. 933), revelation was coming to the Prophet as his head lay in ʿAlī's lap, “and he did not pray the afternoon prayer until the sun had set” (yūḥā ilayhi wa-raʾsuhu fī ḥijri ʿAlī fa-lam yuṣalli l-ʿaṣra ḥattā gharabati l-shams). The Prophet asked, “Have you prayed, ʿAlī?” He said no. The Prophet prayed: “O God, he was in obedience to You and to Your Messenger, so return the sun to him” (Allāhumma innahu kāna fī ṭāʿatika wa-ṭāʿati rasūlika fa-rdud ʿalayhi l-shams). Asmāʾ said, fa-raʾaytuhā gharabat, thumma raʾaytuhā ṭalaʿat baʿdamā gharabat, “I saw it set, then I saw it rise after it had set.” One of al-Ṭaḥāwī's chains sets the scene at al-Ṣahbāʾ in the land of Khaybar, where the Prophet had prayed the noon prayer, in 628. Al-Ṭabarānī also records it from Asmāʾ.
al-Ṭaḥāwī, Sharḥ mushkil al-āthār 1067 · al-Ṭabarānī, al-Muʿjam al-kabīr 24, no. 391 · Ibn Kathīr, al-Bidāya wa-l-nihāya 6 (the routes of the hadith)
Shia hadithShia tradition
In Shia sources: twice returned
Shia works tell of two returns. Al-Mufīd (d. 1022), in al-Irshād, gives the first from Asmāʾ, Umm Salama, Jābir b. ʿAbd Allāh, Abū Saʿīd al-Khudrī and other companions. The second came during ʿAlī's caliphate. ʿAlī was crossing the Euphrates at Babylon, and many of his men were busy taking their animals and baggage over and missed the afternoon prayer with him. He asked God to return the sun, and it came back until they had prayed; as it set again, al-Mufīd says, it made a great noise that frightened the people. Al-Ṣadūq (d. 991) gives the Babylon return in Man lā yaḥḍuruhu al-faqīh from ʿAlī's companion Juwayriya b. Mushir, in whose report ʿAlī would not pray in the accursed land of Babylon. In al-Ṣadūq's al-Khiṣāl ʿAlī says that God returned the sun for him twice, and for no one else in Muhammad's community. Shia tradition has two places of the return: the Mosque of the Sun (Masjid al-Shams, also called al-Faḍīkh) east of Qubāʾ in Medina, where, in one account, the Prophet slept on ʿAlī's knees during the siege of Banū l-Naḍīr; and Mashhad Radd al-Shams in the north of Ḥilla, near Babylon.
al-Mufīd, al-Irshād 1:346–347 · al-Ṣadūq, Man lā yaḥḍuruhu al-faqīh 1:203 · al-Ṣadūq, al-Khiṣāl, p. 580 · M. Rayshahri, Encyclopedia of Imam Ali, “Bringing back the sun to him” · WikiShia, “Radd al-Shams”; “Al-Shams Mosque”
Hebrew BibleSunni hadithShia tradition
Two successors
The Bible tells how Joshua was made Moses's successor. God told Moses, “Take thee Joshua the son of Nun, a man in whom is the spirit, and lay thine hand upon him”, and “thou shalt put some of thine honour upon him, that all the congregation of the children of Israel may be obedient” (Numbers 27:18, 20). After Moses's death, “Joshua the son of Nun was full of the spirit of wisdom; for Moses had laid his hands upon him” (Deuteronomy 34:9). Jews, Christians and Muslims all count him Moses's successor (see Joshua's entry, “The successor”, “The next link in the chain”, “Prophet and successor”). ʿAlī's succession is the question that divides Sunni and Shia Islam. For the Shia he is the waṣī, the Prophet's legatee, named at Ghadīr Khumm. For Sunnis he is the fourth of the Rightly Guided Caliphs, chosen after Abū Bakr, ʿUmar and ʿUthmān (see ʿAlī's entry, “The Sunni ʿAlī”, “The Shia ʿAlī”, and “Aaron and ʿAlī”). The title was disputed early: al-Bukhārī records that people said in ʿĀʾisha's presence that ʿAlī had been the waṣī (anna ʿAliyyan kāna waṣiyyan). She asked, “When did he appoint him?” (matā awṣā ilayhi), and said that the Prophet had died leaning against her (Bukhārī 2741).
Numbers 27:15–23 · Deuteronomy 34:9 · Ṣaḥīḥ al-Bukhārī 2741
Who draws the link
Sunni hadithShia hadith
“Who was Moses's waṣī?”
The two successors are set side by side in a report from Salmān al-Fārisī in al-Ṭabarānī's al-Muʿjam al-kabīr. Salmān said, “Messenger of God, every prophet has a waṣī; who is yours?” (li-kulli nabiyyin waṣiyyun fa-man waṣiyyuka). The Prophet asked him, “Do you know who Moses's waṣī was?” (taʿlamu man waṣiyyu Mūsā). Salmān answered, “Yes, Yūshaʿ b. Nūn”, because he was the most knowing of them. The Prophet then named his own waṣī, the keeper of his secret and the best of those he would leave after him, who would pay his debts: ʿAlī b. Abī Ṭālib. The report is weak by Sunni standards. Al-Haythamī says its chain contains Nāṣiḥ b. ʿAbd Allāh, who is abandoned (matrūk). Al-Ṭabarānī himself glosses the word in a Sunni sense: “my waṣī” means that he charged ʿAlī with his family, not with the caliphate (annahu awṣāhu bi-ahlihi lā bi-l-khilāfa). The shorter saying that every prophet has a waṣī and heir and that ʿAlī is the Prophet's, reported from Burayda, is found in Shia works such as al-Ṣadūq's Man lā yaḥḍuruhu al-faqīh and in some Sunni collections. WikiShia notes that Ibn al-Jawzī, al-Haythamī and al-Suyūṭī did not accept its chain.
al-Ṭabarānī, al-Muʿjam al-kabīr 6063 · al-Haythamī, Majmaʿ al-zawāʾid 14668 · al-Ṣadūq, Man lā yaḥḍuruhu al-faqīh · WikiShia, “Hadith al-Wisaya”
Shia hadithSunni traditionHistory
The night Joshua died
The eulogy al-Ḥasan gave for his father after ʿAlī's death in Ramaḍān 661 ties the two successors by the calendar. In al-Kulaynī's al-Kāfī (10th century), al-Ḥasan says: “By God, he passed away on the same night that the deputy of Moses, Joshua the son of Nun, passed away on, and the same night that Jesus the son of Mary ascended on, and the night that the Quran was sent down on” (wa-llāhi la-qad qubiḍa fī l-laylati llatī fīhā qubiḍa waṣiyyu Mūsā Yūshaʿu bnu Nūn). Al-Ṭabarī's History, the earliest surviving source for the phrase, has Joshua as Moses's young man (fatā Mūsā): in G. R. Hawting's translation, “a night in which Joshua the son of Nun, the champion of Moses, was killed”. The phrase is also in Abū l-Faraj al-Iṣfahānī's Maqātil al-Ṭālibiyyīn, al-Ṭabarānī's al-Muʿjam al-awsaṭ, the Musnad of Abū Yaʿlā and al-Mufīd's al-Irshād. Versions of the eulogy in Ibn Abī Shayba, Musnad Aḥmad, al-Nasāʾī and al-Ḥākim leave it out. Bilal Muhammad, who has studied the versions, finds the phrase well attested in the histories and notes that it suits Shia readings without being unacceptable to Sunni ones. WikiShia notes that some sources give Joshua's death as 21 Ramaḍān, the day of ʿAlī's death.
al-Kulaynī, al-Kāfī 1 (Kitāb al-ḥujja, the birth of Amīr al-Muʾminīn) · al-Ṭabarī, Tārīkh (year 40), tr. G. R. Hawting, The History of al-Ṭabarī 17 · Abū l-Faraj al-Iṣfahānī, Maqātil al-Ṭālibiyyīn · al-Mufīd, al-Irshād (the death of ʿAlī) · B. Muhammad, “The Eulogy of ʿAlī, the Night of Power, and the Ascension of Jesus” (Berkeley Institute for Islamic Studies, 2023) · WikiShia, “Yusha' (a)”
Shia tradition
Al-Sayyid al-Ḥimyarī: “but for Joshua, or for him after him”
The poet al-Sayyid al-Ḥimyarī (d. c. 789), among the best known of the early Shia poets, put both returns into verse:
- ruddat ʿalayhi l-shamsu lammā fātahu / waqtu l-ṣalāti wa-qad danat li-l-maghribi: “the sun was returned to him when the time of prayer had passed him by, and it was near to setting”;
- ḥattā taballaja nūruhā fī waqtihā / li-l-ʿaṣri thumma hawat hawiyya l-kawkabi: “until its light shone out in its hour for the afternoon prayer, then it fell as a star falls”;
- wa-ʿalayhi qad ruddat bi-Bābila marratan / ukhrā wa-mā ruddat li-khalqin muqrabi: “and for him it was returned at Babylon another time, and it was returned for no creature brought near”.
In the poem as some Shia works give it (the Arabic WikiShia, from a modern compilation, al-ʿUbaydān's Ḥawādith ʿabr al-tārīkh), the next line goes on: except for Joshua, “or for him after him” (
illā li-Yūshaʿa aw lahu min baʿdihi). Here a Shia poet makes the sun the sign that joins the two successors. Ibn Kathīr quotes the first three lines from the Shia theologian al-ʿAllāma al-Ḥillī's statement of the case for the report, which he and his teacher Ibn Taymiyya set out to answer.
al-Sayyid al-Ḥimyarī (as in Ibn Kathīr and in WikiShia (Arabic), “Radd al-Shams”) · Ibn Kathīr, al-Bidāya wa-l-nihāya 6 (quoting al-ʿAllāma al-Ḥillī)
Sunni traditionSunni hadith
The report about ʿAlī in Sunni terms
Sunni scholars have disagreed about the report for a thousand years.
- al-Ṭaḥāwī gave it in Sharḥ mushkil al-āthār and inclined to accept it. He relied in part on the Egyptian traditionist Aḥmad b. Ṣāliḥ, who held that it should be learnt as a sign of prophethood.
- al-Qāḍī ʿIyāḍ (d. 1149) counted it among the Prophet's miracles in al-Shifāʾ.
- Ibn al-Jawzī (d. 1201) put it in his book of fabrications: hādhā l-ḥadīthu mawḍūʿun bi-lā shakk, “this hadith is fabricated beyond doubt”. He suspected the traditionist Ibn ʿUqda of inventing one of its chains.
- al-Jawzaqānī called it munkar and muḍṭarib, rejected and inconsistent, and al-Dhahabī is counted among those who rejected it.
- Ibn Taymiyya (d. 1328) held it fabricated. He argued that so great a sign, seen by believer and unbeliever, would have been reported by many.
- Ibn Kathīr (d. 1373) went through its chains one by one, found unknown or Shia narrators and settings that contradict one another, and concluded: wa-l-aʾimmatu fī kulli ʿaṣrin yunkirūna ṣiḥḥata hādhā l-ḥadīth, “the imams in every age deny that this hadith is sound”. He adds that at the Trench the Prophet and his companions prayed the afternoon prayer after sunset and the sun was not returned for them, and that the matter was unclear to al-Ṭaḥāwī (ishtabaha ʿalayhi amruhu), while Aḥmad b. Ṣāliḥ was misled by it (ightarra).
- Ibn Ḥajar (d. 1449) answered the critics: wa-qad akhṭaʾa Ibnu l-Jawzī bi-īrādihi lahu fī l-Mawḍūʿāt, “Ibn al-Jawzī erred in putting it among the fabrications”, and Ibn Taymiyya likewise in claiming it was invented.
- al-Suyūṭī (d. 1505) gathered its chains against Ibn al-Jawzī in al-Laʾāliʾ al-maṣnūʿa, and a treatise on it, Kashf al-lubs ʿan ḥadīth radd al-shams, is attributed to him.
Modern Sunni compilers such as al-Aʿẓamī grade al-Ṭaḥāwī's chain from Asmāʾ weak. They point to al-Fuḍayl b. Marzūq, about whom the critics differ, and to Ibrāhīm b. al-Ḥasan, who is unknown.
al-Ṭaḥāwī, Sharḥ mushkil al-āthār 1067 · al-Qāḍī ʿIyāḍ, al-Shifāʾ (the Prophet's miracles) · Ibn al-Jawzī, al-Mawḍūʿāt 1:356 · al-Jawzaqānī, al-Abāṭīl wa-l-manākīr 1 · al-Dhahabī, Talkhīṣ al-Mawḍūʿāt · Ibn Taymiyya, Minhāj al-sunna 4 · Ibn Kathīr, al-Bidāya wa-l-nihāya 6 · Ibn Ḥajar, Fatḥ al-bārī 6 (on Bukhārī 3124) · al-Suyūṭī, al-Laʾāliʾ al-maṣnūʿa 1 · M. Ḍiyāʾ al-Raḥmān al-Aʿẓamī, al-Jāmiʿ al-kāmil 9
Sunni traditionShia tradition
Held back before, returned after
The Sunni scholars who compare the two sun miracles draw the same line between them. The report in Musnad Aḥmad that the sun was held back for no human but Joshua seems to leave no room for a second such miracle. Ibn Ḥajar, who defended the report about ʿAlī, resolves the apparent conflict: wa-wajhu l-jamʿi anna l-ḥaṣra maḥmūlun ʿalā mā maḍā li-l-anbiyāʾi qabla nabiyyinā, “the way to reconcile them is that the restriction refers to what happened to the prophets before our Prophet”. Ibn Kathīr, who rejected the report, makes the distinction one of kind: wa-lladhī waqaʿa li-Yūshaʿa bni Nūnin laysa raddan li-l-shamsi ʿalayhi, bal ḥubisat sāʿatan qabla ghurūbihā, “what happened to Yūshaʿ b. Nūn was not a return of the sun for him: it was held back for an hour before it set”, slowing in its course until the town could be taken. In his view a miracle on the scale of the report about ʿAlī would have been reported by many, and it was not. The words ḥabs, holding back, and radd, return, thus mark both what the two miracles share and where they part.
Musnad Aḥmad 8315 · Ibn Ḥajar, Fatḥ al-bārī 6 (on Bukhārī 3124) · Ibn Kathīr, al-Bidāya wa-l-nihāya 6
Shia traditionShia hadith
In Shia terms
In Shia scholarship the return of the sun is an established merit of ʿAlī, reported in the main works:
- al-Mufīd's al-Irshād gives both returns;
- al-Ṣadūq gives them in Man lā yaḥḍuruhu al-faqīh and al-Khiṣāl;
- al-Masʿūdī tells it in Ithbāt al-waṣiyya, the book that traces the chain of waṣīs from Adam to the Imams;
- al-Amīnī, in al-Ghadīr, lists Sunni authors who transmitted it or wrote on it, among them al-Ḥaskānī, whose treatise defends its soundness.
For Shia writers the sign belongs to the office: the same chain of waṣīs that runs through Joshua runs to ʿAlī (see Joshua's entry, “Prophet and successor”, and Seth's, “Adam's appointed successor”). WikiShia, giving the Shia view, says that similar events took place in the time of Israelite prophets: Joshua, David and Solomon.
al-Mufīd, al-Irshād 1:346–347 · al-Ṣadūq, Man lā yaḥḍuruhu al-faqīh 1:202–203; al-Khiṣāl, p. 580 · al-Masʿūdī (attrib.), Ithbāt al-waṣiyya · al-Amīnī, al-Ghadīr 3 · WikiShia, “Radd al-Shams”
Where they differ
Hebrew BibleTalmudSunni hadithSunni tradition
Stopped at noon, returned after sunset
In Joshua 10 the sun stops “in the midst of heaven” and does not hurry to set “about a whole day” (10:13). In the hadith the prophet reaches the town at the time of the afternoon prayer, and in Ibn Kathīr's tafsīr it is a Friday afternoon. In both the sun has not yet set. In Asmāʾ's report about ʿAlī the sun has already gone down and rises again, and Ibn Kathīr makes that difference part of his case against the report. The rabbis, who debated how long Gibeon's day lasted (twenty-four, thirty-six or forty-eight hours, in Avodah Zarah 25a), also thought of a sun that stayed in the sky. A sun that turns back is closer to Ben Sira's “go back” and to Hezekiah's dial (Sirach 46:4; Isaiah 38:8).
Joshua 10:13 · Ṣaḥīḥ al-Bukhārī 3124 · Ibn Kathīr, Tafsīr on Qurʾan 5:26; al-Bidāya wa-l-nihāya 6 · Babylonian Talmud, Avodah Zarah 25a · Sirach 46:4 · Isaiah 38:8
Hebrew BibleTafsirSunni tradition
For the battle, for the prayer
Joshua's sun stands still “until the people had avenged themselves upon their enemies” (Joshua 10:13), and the Muslim prophet's until God gave him the victory. ʿAlī's sun returns so that a prayer missed in obedience can be prayed in its time, and at Babylon so that his men can pray. The difference narrows in the Islamic retelling of Joshua. In Ibn Kathīr's tafsīr Yūshaʿ asks for the sun because the Sabbath is about to begin, a day on which, WikiShia's sources add, he could not fight. So his miracle too serves the sacred law. Ibn Kathīr presses the difference the other way (al-Bidāya 6). At the Trench, and on the march to Banū Qurayẓa, the Prophet's companions missed the afternoon prayer until sunset and the sun was not returned for them, and God, he argues, would not give ʿAlī and his companions a merit He had not given the Prophet and his.
Joshua 10:13 · Ṣaḥīḥ al-Bukhārī 3124 · Ibn Kathīr, Tafsīr on Qurʾan 5:26 · WikiShia, “Yusha' (a)” · Ibn Kathīr, al-Bidāya 6
Hebrew BibleSunni hadithSunni traditionShia hadith
His own prayer, or the Prophet's
Joshua speaks to God and commands the sun himself, and the prophet in the hadith says to the sun “you are commanded, and I am commanded” before praying. In Asmāʾ's report ʿAlī does nothing: the Prophet prays, and the sun returns for ʿAlī's sake. For Sunni authors who accept it, such as al-Qāḍī ʿIyāḍ, it is a miracle of the Prophet, a sign of his prophethood. Only in the Shia account of Babylon does ʿAlī himself pray for the sun, as Joshua did.
Joshua 10:12 · Ṣaḥīḥ al-Bukhārī 3124 · al-Ṭaḥāwī, Sharḥ mushkil al-āthār 1067 · al-Qāḍī ʿIyāḍ, al-Shifāʾ · al-Mufīd, al-Irshād 1:346–347
Hebrew BibleSunni hadithSunni traditionShia tradition
Scripture and a disputed report
Joshua's miracle is in the Hebrew Bible, the Christian Old Testament and, without his name, in al-Bukhārī and Muslim. No tradition on this card disputes it. ʿAlī's rests on reports that the Shia hold established and that Sunni scholars have argued over since the 10th century, from al-Ṭaḥāwī's defence to Ibn Taymiyya's rejection. One side of the comparison is shared by all, and the other is held in Shia teaching and by some Sunni scholars.
Joshua 10:12–14 · Ṣaḥīḥ al-Bukhārī 3124 · Ṣaḥīḥ Muslim 1747 · Ibn Ḥajar, Fatḥ al-bārī 6 · Ibn Taymiyya, Minhāj al-sunna 4
Hebrew BibleSunni hadithSunni traditionShia tradition
A prophet and an Imam; a successor in all traditions, or in one
In Islamic tradition Yūshaʿ is a prophet, and in the Bible the leader who brings Israel into the land. ʿAlī, by the hadith of the position, is not a prophet: “there is no prophet after me” (see “Aaron and ʿAlī”). Ibn Ḥajar's reconciliation rests on this, keeping the restriction for the prophets before Muhammad. Joshua's succession is told in Numbers and Deuteronomy and accepted by Jews, Christians and Muslims alike. ʿAlī's succession is Shia belief. In the Sunni reading of “waṣī”, such as al-Ṭabarānī's gloss, the Prophet left ʿAlī his family to care for, not the leadership. Joshua, moreover, took up the leadership at once. ʿAlī, in Sunni and Shia histories alike, became caliph only in 656, after three others (see ʿAlī's entry, “The twenty-five years”).
Numbers 27:15–23 · Deuteronomy 34:9 · Ṣaḥīḥ al-Bukhārī 4416, 2741 · al-Ṭabarānī, al-Muʿjam al-kabīr 6063
More parallels
Talmud
Moses, Joshua and Nakdimon: the sun that came out again
A baraita in the Talmud says: “With regard to three people, the sun broke through and shone at an irregular time for their sake: Moses, Joshua, and Nakdimon ben Guryon” (Taanit 20a; Avodah Zarah 25a). Joshua's case comes from Joshua 10:13, and Moses's from God's promise to “put the dread of thee” upon the nations (Deuteronomy 2:25). Nakdimon's comes from a story of the late Second Temple period. He had borrowed water for the pilgrims from a gentile official, and the debt fell due at sunset on the appointed day. Rain came after his prayer, but the official claimed that the sun had already set and the debt was due. Nakdimon prayed a second time, and “immediately, the clouds scattered and the sun shined” (Taanit 19b–20a). Of the Jewish stories, this one, where a sun thought to have set shines again, comes closest to the return for ʿAlī. In both, the hour is reckoned by the sun for the sake of a duty.
Babylonian Talmud, Taanit 19b–20a · Babylonian Talmud, Avodah Zarah 25a · Deuteronomy 2:25
QurʾanShia hadithTafsir
Solomon's horses
The Qurʾan says that Solomon, admiring his horses at evening, said, “I have preferred the good things (of the world) to the remembrance of my Lord; till they were taken out of sight behind the curtain”, and then, “Bring them back to me” (Qurʾan 38:32–33). A Shia report from Jaʿfar al-Ṣādiq in al-Ṣadūq's Man lā yaḥḍuruhu al-faqīh reads it of the sun. Solomon had missed the afternoon prayer, asked the angels to bring the sun back, and prayed in its time. Shia writers count it with Joshua's and ʿAlī's. Many commentators read “they” as the horses, and some rejected the sun story as unworthy of a prophet.
Qurʾan 38:30–33 · al-Ṣadūq, Man lā yaḥḍuruhu al-faqīh 1:202, no. 607 · WikiShia, “Radd al-Shams”
Sunni hadithSunni tradition
The sun delayed for the Prophet
Sunni sources also tell of the sun held back for Muhammad himself. Al-Ṭabarānī, in al-Muʿjam al-awsaṭ, records from Jābir that the Prophet commanded the sun and it was delayed for an hour of the day. Ibn Ḥajar calls its chain ḥasan and takes it as a further answer to the restriction in Aḥmad's hadith. Others count it weak because of its narrator Muʿaqqil b. ʿUbayd Allāh, among them the modern compiler al-Aʿẓamī. Al-Qāḍī ʿIyāḍ also tells, from al-Ṭaḥāwī, of a return on the day of the Trench. Ibn Ḥajar says he could not find it in al-Ṭaḥāwī's book, and that if it is sound it would be a third occasion.
al-Ṭabarānī, al-Muʿjam al-awsaṭ · Ibn Ḥajar, Fatḥ al-bārī 6 (on Bukhārī 3124) · al-Qāḍī ʿIyāḍ, al-Shifāʾ · M. Ḍiyāʾ al-Raḥmān al-Aʿẓamī, al-Jāmiʿ al-kāmil 9
Sunni hadithShia hadith
Babylon in a Sunni report
The Shia account of the second return has a counterpart without a miracle in Sunan Abī Dāwūd. ʿAlī was passing through Babylon (marra bi-Bābila) when the muezzin came to call the afternoon prayer. ʿAlī did not pray until he had left the place, saying that the Prophet had forbidden him to pray in the land of Babylon, “for it is accursed” (nahānī an uṣalliya fī arḍi Bābila fa-innahā malʿūna; Abū Dāwūd 490; also al-Bayhaqī). Al-Albānī and Zubair ʿAlī Zaʾī graded it weak. Juwayriya's report in al-Ṣadūq has the same refusal, and then the sun.
Sunan Abī Dāwūd 490 · al-Bayhaqī, al-Sunan al-kubrā · al-Ṣadūq, Man lā yaḥḍuruhu al-faqīh 1:203
Hebrew BibleTalmud
The sun and the moon
Joshua commands both sun and moon (Joshua 10:12). The Talmud uses the same two lights for him and his master: “the face of Moses was like the face of the sun, the face of Joshua like the face of the moon” (Bava Batra 75a; see Joshua's entry, “The next link in the chain”). There the successor is a lesser light, reflecting the prophet's. Numbers says the same in its own way: Moses was to put “some of thine honour” upon him (Numbers 27:20).
Joshua 10:12 · Babylonian Talmud, Bava Batra 75a · Numbers 27:20
New TestamentChristian traditionShia hadithShia tradition
Joshua and Jesus
Christians read Joshua, whose Greek name Iēsous is Jesus's, as a figure of Christ (see Joshua's entry, “The same name as Jesus”). In al-Ḥasan's eulogy, the night of ʿAlī's death is both the night Joshua died and the night Jesus was raised to heaven. Shia hadith, according to WikiShia, also count Joshua among those who will return with Jesus after the Mahdī appears.
Acts 7:45 · Hebrews 4:8 · al-Kulaynī, al-Kāfī 1 (Kitāb al-ḥujja) · WikiShia, “Yusha' (a)”
HistoryTalmud
Modern readings of Gibeon
The verse itself says that Joshua's words are written in the book of Jasher (Joshua 10:13), and scholars such as those of the Jewish Encyclopedia read them as a fragment of a song taken from a lost book of heroic songs. The Talmud had already asked what that book was, and found it in Genesis, Deuteronomy or Judges (Avodah Zarah 25a). In 2017 Colin Humphreys and Graeme Waddington argued in Astronomy & Geophysics that the Hebrew could mean that the sun and moon “stopped shining”, and dated an annular eclipse visible from Canaan to 30 October 1207 BC. Such readings are scholarly hypotheses. No comparable historical reading exists for the report about ʿAlī, which the traditions weigh by its chains.
Joshua 10:12–13 · Babylonian Talmud, Avodah Zarah 25a · Jewish Encyclopedia (1906), “Jasher, Book of” · C. Humphreys and G. Waddington, Astronomy & Geophysics (2017) · University of Cambridge, “Oldest recorded solar eclipse helps date the Egyptian pharaohs” (2017)
Comparing the traditions
Author's note · comparing traditions
Hebrew BibleTalmudSunni hadithShia hadith
Author's note: no day like it
Each account claims that its miracle has no equal, and each claim leaves room for a different number. Joshua says “there was no day like that before it or after it” (10:14). The Talmud counts three for whom the sun shone out: Moses, Joshua and Nakdimon. Musnad Aḥmad says the sun was held back for no human but Yūshaʿ. In al-Khiṣāl ʿAlī says that it was returned for no one in Muhammad's community but him, and al-Ḥimyarī joins the two, for Joshua and for ʿAlī after him. Ibn Ḥajar keeps Aḥmad's words for the prophets of the past. Each tradition thus claims the sun's obedience for the man at the head of its own chain of succession, and reads the others' accounts through that claim.
Joshua 10:14 · Babylonian Talmud, Taanit 20a · Musnad Aḥmad 8315 · al-Ṣadūq, al-Khiṣāl, p. 580 · Ibn Ḥajar, Fatḥ al-bārī 6
Author's note · comparing traditions
Hebrew BibleSunni hadithShia hadith
Author's note: the sign of the successor
In each account the sun obeys at a moment of succession. Joshua's sun stops in the first campaigns after Moses's death, as if to show that “as I was with Moses, so I will be with thee” (Joshua 1:5). In Aḥmad's version the prophet is Yūshaʿ, marching on Jerusalem after Moses's death. ʿAlī's sun returns while the Prophet's head lies in his lap and revelation comes down, and again, in the Shia account, when he leads the community himself. For the Shia the two signs belong together because the office is one, handed from waṣī to waṣī. For Sunni scholars, the sign at Gibeon is a prophet's miracle. Those who accept the report about ʿAlī read it as the Prophet's miracle, a mark of honour for ʿAlī, while others reject it altogether.
Joshua 1:5; 10:12–14 · Ṣaḥīḥ al-Bukhārī 3124 · al-Ṭaḥāwī, Sharḥ mushkil al-āthār 1067 · al-Mufīd, al-Irshād 1:346–347