On the day the qibla changed, the Prophet ﷺ prayed Fajr in his own masjid facing Jerusalem, then announced the change and prayed Zuhr facing Makkah: the change was announced between prayers, not mid-salah. Those who had prayed Zuhr with him were then meant to carry the news to their own people. The companion tasked with informing the masjid of Banu Salama arrived late; by the time he reached them, they were already praying Asr, so he called out from the back of the mosque, "O people of the masjid! I have just come from the Prophet's ﷺ Masjid, and I prayed with him Zuhr, and he was praying facing Makkah! The command has come to change direction!" The entire congregation turned together, mid-prayer, with the imam walking straight through the rows to the new front.
The Battle of Tabuk carries two names, both used by the sahaba. It is called Ghazwa Tabuk because the Muslim army was saved there: after the sahaba had run out of water on the march, the Prophet ﷺ told Mu'adh ibn Jabal RA they would reach the spring of Tabuk the next day at the hottest part of the day, and warned them not to touch its water until he arrived. Two men touched it before he came and were rebuked; the Prophet ﷺ then washed his hands and face in what remained, and the water gushed out until the whole army (traditionally reported as 20,000 men, though such figures in the sources were often inflated) drank from it. It is also called Jaysh al-Usrah, the Army of Difficulty (a name Imam al-Bukhari records alongside Ghazwa Tabuk in his own chapter heading), because it was harsher than any other campaign: managing so large an army strained food, water, and logistics; it took place in the hottest part of the year, with temperatures around 110°F; it covered the furthest distance any army led by the Prophet ﷺ ever marched, roughly 650 km northwest of Madinah; and it fell during Madinah's August harvest season, when leaving meant forgoing the year's main income for an agrarian society with no concept of a steady salary. It took place in the month of Rajab, 9 AH, exactly six months after the Siege of Ta'if, and it was the Prophet ﷺ's final ghazwa; after it he undertook his Farewell Hajj, fell ill, and the seerah moves toward his death and the khilafa. No actual clash of swords took place; the difficulty was the march itself. Attendance was called for every able-bodied man, even from as far as Makkah. The most famous story of the expedition, however, is not the march itself but what happened to those who missed it. Ka'b ibn Malik RA (one of the earliest Ansari converts, of Banu Salama, who had taken part in the Bay'at al-Aqaba) owned two camels and was healthier and wealthier than ever before, yet kept postponing his preparations day after day until the army had gone too far to catch. He was not alone: of the whole city, only the hypocrites and those genuinely excused failed to march, and even among these, more than eighty men came forward on the Prophet ﷺ's return to swear oaths and offer excuses, which he accepted at face value (later mildly rebuked for this in Qur'an 9:43), leaving their true intentions to Allah. Only three men (Ka'b, Murara ibn al-Rabi' al-Amri RA and Hilal ibn Umayyah al-Waqifi RA, the latter two both veterans of Badr) refused to lie, and told the Prophet ﷺ the plain truth. He forbade the whole community from speaking to the three of them. For fifty nights they were shunned by everyone, including, in Ka'b's case, his own cousin Abu Qatada RA; the King of Ghassan even tried to lure Ka'b away with a letter, which he burned as a test. Forty days in, the three were also ordered to separate from their wives. On the fiftieth morning, as Ka'b prayed Fajr on his rooftop, a man of Aslam climbed Jabal Sal' (the mountain visible on exiting the Masjid al-Nabawi) and cried out that Allah had accepted their repentance; his voice reaching Ka'b before a horseman sent to convey the news in person, whom Ka'b gifted the only clothes he owned; he then had to borrow a garment from a neighbor to go to the Prophet ﷺ. Ka'b's repentance, and that of his two companions, was announced across Madinah, prompting Qur'an 9:117-119 on Allah turning in mercy to "the three who were left behind." Talha ibn Ubaydillah RA alone among the Muhajirun stood to congratulate Ka'b, who resolved from that day to never knowingly lie again. Before the army departed, the Prophet ﷺ called for donations from the minbar, and the sahaba raced to give. Umar ibn al-Khattab RA, thinking he could finally outdo Abu Bakr RA, brought half his wealth, telling the Prophet ﷺ he had left an equal amount for his family (narrated in Sunan al-Tirmidhi); Abu Bakr RA then brought everything he owned, saying he had left his family only "Allah and His Messenger ﷺ", prompting Umar to concede he could never compete with him again. Abd al-Rahman ibn Awf RA, who had arrived in Madinah with nothing but the clothes on his back, gave 200 uqiyas of grain. Uthman ibn Affan RA gave in two remembered moments: during the Prophet ﷺ's khutbah he pledged, in escalating stages, a hundred camels, then two hundred, then finally three hundred with all they carried, at which the Prophet ﷺ came down from the minbar to declare "Uthman has no sin after what he has done today"; separately, when one of his trading caravans returned from Syria around the same time, he sold it entire for roughly a thousand gold coins and poured them before the Prophet ﷺ, who said, "Whatever Uthman does after today, it will not harm him", a promise Uthman himself would invoke decades later against the neo-Kharijites besieging his house. The hypocrites, by contrast, gave nothing and mocked those who did: when a poor Ansari man brought one of only two handfuls of dates he had earned by drawing water all night, two hypocrites jeered that Allah had no need of so little and that he needed it more than anyone, prompting Qur'an 9:79. Others made excuses to avoid marching at all: al-Jad ibn Qays begged off, claiming he feared losing self-control around Roman women, and the Prophet ﷺ simply turned away from him (Qur'an 9:49 is tied to this); Qur'an 9:81-82 and 9:42 rebuke the wider hypocrite camp for rejoicing at staying behind and for finding the journey too far. Set against them were the Bakka'un ("the Criers"), roughly seven men including relatives of Abu Ayyub al-Ansari and Irbad ibn Sariya RA, who wanted to march but had no mount and wept when the Prophet ﷺ told them so (Qur'an 9:92); the Prophet ﷺ later told the sahaba at Tabuk that such sincere companions back in Madinah shared fully in the army's reward. Ulba ibn Zayd RA, having no wealth to give, pledged instead to defend the Prophet ﷺ with his honor against the hypocrites' taunts, and the Prophet ﷺ accepted it as charity. Wathila ibn al-Asqa' RA, also without money or a mount, went daily to the marketplace offering his future share of the ghanima to whoever would take him, until an elder of the Ansar agreed to share a camel and meals with him, and later refused to accept the very booty-camels Wathila tried to hand over in payment. Two companions nearly missed the expedition through sheer procrastination before recovering themselves at the last moment, alongside Ka'b ibn Malik RA. Abu Khaythama al-Ansari RA delayed like Ka'b, but on returning home and finding his wife had prepared a shaded, watered rug and food for him, he rebuked himself for enjoying comfort while the Prophet ﷺ endured the heat, and rushed out alone to catch up; the Prophet ﷺ, spotting a lone rider in the distance, said "Let it be Abu Khaythama," and on arrival asked why he had been delayed, gently rebuking him afterward with "Woe to you, Abu Khaythama!" once he heard the story. Abu Dharr al-Ghifari RA fell behind when his camel proved unfit to travel, so he loaded its burden onto his own back and walked the whole distance alone; the Prophet ﷺ, seeing a solitary walking figure approach, said "Let it be Abu Dharr!" and then remarked, "May Allah have mercy upon Abu Dharr. He is walking by himself, he will die by himself, and he will be resurrected by himself", a statement later fulfilled almost exactly at his death in exile, years afterward, in the khilafa of Ali ibn Abi Talib RA (see the separate event on his exile and death). The hypocrites' organized opposition, including their construction of Masjid al-Dirar during this same period as a rival headquarters, is treated as its own event (see Masjid al-Dirar) since it unfolded on a separate, simultaneous track from the march itself. Before departing Madinah, the Prophet ﷺ left Muhammad ibn Maslamah RA in charge of the city's affairs, as he did whenever he left on campaign, and told Ali ibn Abi Talib RA to stay behind and take charge of his household, the Mother of the Believers and the Ahl al-Bayt, since the journey would take more than a month. The munafiqun mocked Ali RA for staying behind, calling him unfit to fight; stung despite his well-known bravery, Ali RA armed himself and caught up with the army to protest. The Prophet ﷺ reassured him with the hadith of manzila: "Are you not content to be with me like Harun was with Musa, except that there is no prophet after me?" Ali RA was left in charge only of the Prophet ﷺ's family, not of Madinah itself (that was Muhammad ibn Maslamah RA's post), a detail Sunni scholars point to against the Shia reading of this hadith as evidence of a designated political succession. The army departed by way of Thaniyat al-Wada', the hill north of the Haram where Madinan families traditionally gathered to bid travelers farewell. There the Prophet ﷺ paused to organize the army (the largest ever assembled under him) into battalions by tribe, each with its own leader and flag, a mark of his organizational skill though he had no military training. On the march, when the sahaba began falling asleep on their mounts after Fajr and their camels scattered, Mu'adh ibn Jabal RA found himself riding close enough to the Prophet ﷺ, alone, to ask him privately what deed would gain him Jannah, a conversation preserved at length in Musnad Imam Ahmad (see the Sayings & Actions below). The Prophet ﷺ prayed qasr throughout the twenty days the army camped at Tabuk, a practice later cited in fiqh discussions on how long a qasr-praying traveler (musafir) may remain at one place. The morning after arrival, he ﷺ also delivered a khutbah preserved by Uqba ibn Amir al-Juhani RA (see the separate Khutbah at Tabuk event). Separately, during the twenty days at Tabuk, the Prophet ﷺ sent Khalid ibn al-Walid RA to Dawmat al-Jandal, where he captured the Kindah chieftain Ukaydir ibn Abd al-Malik and sealed the whole northern frontier against Rome through treaties (see the separate Dawmat al-Jandal expedition). Over the twenty days the army camped at Tabuk, the Prophet ﷺ gave many short khutbahs and khatirahs, several of which are preserved in the books of hadith and seerah. In one, he ﷺ said Allah had given him five things granted to no prophet before him: he ﷺ was sent to all of mankind rather than to one people alone; Allah made him victorious through awe felt by his enemies a month's journey away; ghanima was made lawful for him ﷺ where it had not been for earlier nations; the whole earth was made a place of purification and prayer, so his ﷺ ummah could pray anywhere rather than only in a house of worship; and he ﷺ had saved his own personal request to Allah for the Day of Judgment, promising it to whoever testifies la ilaha illallah; understood as the Great Intercession. In another, narrated by Awf ibn Malik RA, he ﷺ foretold six signs before the Day of Judgment, ending in a truce and then a betrayal by the Bani al-Asfar (the Romans). The stay also saw repeated miracles of increasing food and water when supplies ran low, reported four or five times just in this expedition, and a karamah in which a companion lost in the dark found his way back to camp by the light of his own glowing fingers. One Fajr, Abd al-Rahman ibn Awf RA led the salah after the Prophet ﷺ was delayed performing wudu (assisted and narrated by al-Mughira ibn Shu'ba RA, including the Prophet ﷺ's instruction to leave his khuff on rather than remove them for washing); the Prophet ﷺ then prayed the missed rak'ah behind him, the only time in his life ﷺ he prayed a full rak'ah led by a companion. During these days the companion Abdullah Dhu al-Bijadayn RA also died and was buried by the Prophet ﷺ's own hands (see the separate event on his death and burial). Several fiqh rulings are also dated to Tabuk in the hadith literature: that washing each limb once in wudu suffices when water is scarce; that the Prophet ﷺ prayed with a sutrah roughly the size of a camel's saddle; that he ﷺ combined salahs only while actually traveling and not once settled even briefly (as at Tabuk and later at the Conquest of Makkah), while still praying qasr for the whole twenty days; and that the skin of a dead animal becomes pure, and so usable, once tanned. On the return march, the army passed through al-Hijr, the rock-carved dwellings of the ancient people of Thamud and Prophet Saleh AS (see the separate event on passing by al-Hijr). Their animals were also strengthened by a du'a the Prophet ﷺ made over them when they grew too weak to carry the army, a du'a the companion Fudala RA recognized fulfilled decades later at the Muslim conquest of Cyprus (28 AH). When water ran short, the Prophet ﷺ prayed for rain, and after a night of rain gave a khutbah on believers who credited the rain to Allah against hypocrites who credited it to a star. When the Prophet ﷺ's own camel went missing, a hypocrite mocked him ﷺ for claiming revelation from heaven yet not knowing where his camel was; the Prophet ﷺ then announced, by revelation, exactly where the camel was found, and a companion who learned who had mocked him expelled the man from his unit. Elsewhere on the march, hypocrites mocking the Prophet ﷺ's prophecies of conquering Rome and Persia were exposed as the Qur'an (9:64-66) was revealed quoting the mocker's excuse before he could finish giving it (see the separate event on the munafiqun's mockery). Separately, a group of some fourteen or fifteen hypocrites made a spur-of-the-moment attempt to throw the Prophet ﷺ off a cliff at night, foiled by his own evasive action while Ammar ibn Yasir RA and Hudhayfah ibn al-Yaman RA looked on without realizing what was happening (see the separate event on the assassination attempt). The army finally returned to Madinah after some fifty to sixty days away, greeted at Thaniyat al-Wada' by the city's women and children (among them the companion al-Sa'ib RA, then a child) traditionally, though incorrectly, associated instead with the Hijrah (see the separate event on the return to Madinah). On the return march, one of the munafiqs was reported to have said that if Islam were true, it would mean believers were more misguided than donkeys, then swore under oath he had never said it, until Allah exposed the lie in Surat al-Tawba [Quran, 9:74]. Other hypocrites who stayed behind told one another, "Do not march forth in the heat," prompting the reply in the same surah that the Fire of Hell is far hotter [Quran, 9:81-82]. A separate, popular story (that a named sahabi begged the Prophet ﷺ for wealth, promised to become generous, then turned stingy once Allah granted him riches, with his later repentance and charity refused) is widely repeated as the occasion for [Quran, 9:75-77], but Sh. Yasir Qadhi rejects it as unreliable: besides a weak chain, it has the Prophet ﷺ refusing a repentant man's charity, which contradicts the Quran's own teaching that Allah accepts repentance. The verses instead describe the hypocrites in general, some of whom vowed to give charity if made wealthy and then grew stingy once Allah provided for them.