Hadithcore
Sahih Muslim, 32
sahih

It is reported on the authority of Anas b. Malik that the Prophet (ﷺ) of Allah (ﷺ) addressed Mu'adh b. Jabal as he was riding behind him to which he replied:

At your beck and call, and at your pleasure, Messenger of Allah. He again called out: Mu'adh, to which he (again) replied: At your beck and call, and at your pleasure. He (the Prophet) addressed him (again): Mu'adh, to which he replied: At your beck and call, and at your pleasure, Messenger of Allah. Upon this he (the Prophet) observed: If anyone testifies (sincerely from his heart) that there is no god but Allah, and that Muhammad is His bondsman and His messenger, Allah immuned him from Hell. He (Mu'adh) said: Messenger of Allah, should I not then inform people of it, so that they may be of good cheer? He replied: Then they would trust in it alone. Mu'adh told about it at the time of his death, to avoid sinning.

حَدَّثَنَا إِسْحَاقُ بْنُ مَنْصُورٍ، أَخْبَرَنَا مُعَاذُ بْنُ هِشَامٍ، قَالَ حَدَّثَنِي أَبِي، عَنْ قَتَادَةَ، قَالَ حَدَّثَنَا أَنَسُ بْنُ مَالِكٍ، أَنَّ نَبِيَّ اللَّهِ صلى الله عليه وسلم وَمُعَاذُ بْنُ جَبَلٍ رَدِيفُهُ عَلَى الرَّحْلِ قَالَ ‏"‏ يَا مُعَاذُ ‏"‏ ‏.‏ قَالَ لَبَّيْكَ رَسُولَ اللَّهِ وَسَعْدَيْكَ ‏.‏ قَالَ ‏"‏ يَا مُعَاذُ ‏"‏ ‏.‏ قَالَ لَبَّيْكَ رَسُولَ اللَّهِ وَسَعْدَيْكَ ‏.‏ قَالَ ‏"‏ يَا مُعَاذُ ‏"‏ ‏.‏ قَالَ لَبَّيْكَ رَسُولَ اللَّهِ وَسَعْدَيْكَ ‏.‏ قَالَ ‏"‏ مَا مِنْ عَبْدٍ يَشْهَدُ أَنْ لاَ إِلَهَ إِلاَّ اللَّهُ وَأَنَّ مُحَمَّدًا عَبْدُهُ وَرَسُولُهُ إِلاَّ حَرَّمَهُ اللَّهُ عَلَى النَّارِ ‏"‏ ‏.‏ قَالَ يَا رَسُولَ اللَّهِ أَفَلاَ أُخْبِرُ بِهَا النَّاسَ فَيَسْتَبْشِرُوا قَالَ ‏"‏ إِذًا يَتَّكِلُوا ‏"‏ فَأَخْبَرَ بِهَا مُعَاذٌ عِنْدَ مَوْتِهِ تَأَثُّمًا ‏.‏

References2 variants
In-Book Reference
Book 1, Hadith 55
USC-MSA web (English) reference
Book 1, Hadith 51 (deprecated numbering scheme)
Related hadiths3
Compare isnād across 3 related chains →