64/29. Chapter:
Sahih Bukhari 4100 — Trench Sacrifice and Hereafter
The Ghazwa of Al-Khandaq or Al-Ahzab Battle
قَالَ مُوسَى بْنُ عُقْبَةَ كَانَتْ فِي شَوَّالٍ سَنَةَ أَرْبَعٍ.
Hadith About the Battle of Trench and the Goodness of the Hereafter
Sahih Bukhari : 4100
Sahih BukhariHadith Number 4100
حَدَّثَنَا أَبُو مَعْمَرٍ، حَدَّثَنَا عَبْدُ الْوَارِثِ، عَنْ عَبْدِ الْعَزِيزِ، عَنْ أَنَسٍ ـ رضى الله عنه ـ قَالَ جَعَلَ الْمُهَاجِرُونَ وَالأَنْصَارُ يَحْفِرُونَ الْخَنْدَقَ حَوْلَ الْمَدِينَةِ، وَيَنْقُلُونَ التُّرَابَ عَلَى مُتُونِهِمْ وَهُمْ يَقُولُونَ نَحْنُ الَّذِينَ بَايَعُوا مُحَمَّدَا عَلَى الإِسْلاَمِ مَا بَقِينَا أَبَدَا قَالَ يَقُولُ النَّبِيُّ صلى الله عليه وسلم وَهْوَ يُجِيبُهُمُ " اللَّهُمَّ إِنَّهُ لاَ خَيْرَ إِلاَّ خَيْرُ الآخِرَهْ، فَبَارِكْ فِي الأَنْصَارِ وَالْمُهَاجِرَهْ ". قَالَ يُؤْتَوْنَ بِمِلْءِ كَفَّى مِنَ الشَّعِيرِ فَيُصْنَعُ لَهُمْ بِإِهَالَةٍ سَنِخَةٍ تُوضَعُ بَيْنَ يَدَىِ الْقَوْمِ، وَالْقَوْمُ جِيَاعٌ، وَهْىَ بَشِعَةٌ فِي الْحَلْقِ وَلَهَا رِيحٌ مُنْتِنٌ.
Anas Narrated from:
Al-Muhajirun (i.e. the Emigrants) and the Ansar were digging the trench around Medina and were carrying the earth on their backs while saying, "We are those who have given the pledge of allegiance to Muhammad for Islam as long as we live." The Prophet (ﷺ) said in reply to their saying, "O Allah! There is no goodness except the goodness of the Hereafter; so please grant Your Blessing to the Ansar and the Emigrants."The people used to bring a handful of barley, and a meal used to be prepared thereof by cooking it with a cooking material (i.e. oil, fat and butter having a change in color and smell) and it used to be presented to the people (i.e. workers) who were hungry, and it used to stick to their throats and had a nasty smell.
Reference : Sahih al-Bukhari 4100In-book reference : Book 64, Hadith 144USC-MSA web (English) reference : Vol. 5, Book 59, Hadith 426
Summary of Sahih Bukhari Hadith 4100
This Hadith about the Battle of Trench shows the deep sacrifice of the Muhajirun and Ansar. They were digging around Medina, carrying soil on their backs, and renewing their pledge to Islam. Their words show loyalty, patience, and shared effort in a hard time. The Prophet صلى الله عليه وسلم answered them with a dua, reminding them that real goodness is the goodness of the Hereafter. The Hadith also shows their hunger and simple food. Even a small amount of barley, cooked with unpleasant fat, was placed before hungry workers. The main lesson is clear: faith can keep people steady during hardship, and the Hereafter gives meaning to struggle.
What we learn from this hadith
- The Muhajirun and Ansar worked together during a hard time.
- The Prophet صلى الله عليه وسلم directed attention to the goodness of the Hereafter.
- Hunger and difficulty did not stop the companions from serving Islam.
- Making dua for believers is a way of showing love and care.
