حَدَّثَنَا أَبُو مَعْمَرٍ حَدَّثَنَا عَبْدُ الْوَارِثِ حَدَّثَنَا عَبْدُ الْعَزِيزِ عَنْ أَنَسٍ رَضِيَ اللَّهُ عَنْهُ قَالَ جَعَلَ الْمُهَاجِرُونَ وَالْأَنْصَارُ يَحْفِرُونَ الْخَنْدَقَ حَوْلَ الْمَدِينَةِ وَيَنْقُلُونَ التُّرَابَ عَلَی مُتُونِهِمْ وَيَقُولُونَ نَحْنُ الَّذِينَ بَايَعُوا مُحَمَّدَا عَلَی الْإِسْلَامِ مَا بَقِينَا أَبَدَا وَالنَّبِيُّ صَلَّی اللَّهُ عَلَيْهِ وَسَلَّمَ يُجِيبُهُمْ وَيَقُولُ اللَّهُمَّ إِنَّه لَا خَيْرَ إِلَّا خَيْرُ الْآخِرَهْ فَبَارِکْ فِي الْأَنْصَارِ وَالْمُهَاجِرَهْ
صحیح بخاری · Hadith 2835
Narrated Anas: The Emigrants and the Ansar started digging the trench around Medina carrying the earth on their backs and saying, "We are those who have given a pledge of allegiance to Muhammad that we will I carry on Jihad as long as we live." The Prophet kept on replying, "O Allah, there is no good except the good of the Hereafter; so confer Your Blessings on the Ansar and the Emigrants."
Translated by Dr. Muhammad Muhsin Khan · Reviewed by Islamic University of Madinah · Published March 2020
