At Hunayn a large Muslim army almost breaks before recovering; at Tabuk the hypocrites stay behind and three sincere believers are boycotted until forgiven.
At Hunayn the Muslims, proud of their numbers, were ambushed and fled until the Prophet ﷺ called them back (9:25-26). The spoils were given generously to new Muslims of Quraysh "to reconcile hearts", and some of the Ansar were upset until the Prophet ﷺ asked them, "Are you not pleased that people go with sheep and camels while you go back with the Messenger of Allah?" They wept (Sahih al-Bukhari 4330).
In 9 AH he led a long march in heat to Tabuk against a reported Byzantine threat; no battle took place. The hypocrites made excuses; three sincere believers, including Ka'b ibn Malik, stayed behind without excuse, told the truth, were boycotted for fifty days and then forgiven by revelation (9:118; Bukhari 4418). Ali was left in charge of Madinah and was told "Are you not pleased to be to me as Harun was to Musa, except there is no prophet after me?" (Bukhari 4416).
Truthfulness over excuses; generosity to win hearts.
People
Sources
Spotted a mistake? Report it and we will check it against the sources.