The Messenger of Allah ﷺ launched a military expedition, so I came to him and said, "Messenger of Allah, pray to Allah that I be granted martyrdom."He said, "O Allah, grant them safety and spoils."So we set out and were granted safety and spoils.Then the Messenger of Allah ﷺ launched a second expedition, and I came to him and said, "Messenger of Allah, pray to Allah that I be granted martyrdom."He said, "O Allah, grant them safety and spoils."So we set out and were granted safety and spoils.Then the Messenger of Allah ﷺ launched a third expedition, and I came to him and said, "Messenger of Allah, I have come to you twice in succession asking you to pray to Allah for me for martyrdom, and you said, 'O Allah, grant them safety and spoils.' Messenger of Allah, pray to Allah for me for martyrdom."He said, "O Allah, grant them safety and spoils."So we set out and were granted safety and spoils.Later I came to him and said, "Messenger of Allah, command me with a deed that I may take from you, by which Allah will benefit me."He said, "Hold fast to fasting, for nothing is equal to it."Abu Umama, his wife, and his servant would scarcely be found doing anything but fasting. Whenever they saw a fire or smoke in their home during the day, they would know that a guest had come to them.Then I came to him afterwards and said, "Messenger of Allah, you have commanded me with a matter, and I hope that Allah has benefited me by it. So command me with another matter by which Allah will benefit me."He said, "Know that you do not prostrate to Allah a single prostration except that Allah raises you a degree by it, or removes" — or he said, "and removes" (Mahdi was uncertain) — "by it a sin from you."
حدثنا بهز بن أسد وحدثنا مهدي بن ميمون حدثنا محمد بن عبد الله بن أبي يعقوب الضبي عن رجاء بن حيوة
أنشأ رسول الله ﷺ غزوا فأتيته فقلت يا رسول الله ادع الله لي بالشهادة فقال اللهم سلمهم وغنمهم قال فغزونا فسلمنا وغنمنا قال ثم أنشأ رسول الله ﷺ غزوا ثانيا فأتيته فقلت يا رسول الله ادع الله لي بالشهادة قال اللهم سلمهم وغنمهم قال فغزونا فسلمنا وغنمنا قال ثم أنشأ رسول الله ﷺ غزوا ثالثا فأتيته فقلت يا رسول الله قد أتيتك تترى مرتين أسألك أن تدعو الله لي بالشهادة فقلت اللهم سلمهم وغنمهم يا رسول الله فادع الله لي بالشهادة فقال اللهم سلمهم وغنمهم قال فغزونا فسلمنا وغنمنا ثم أتيته بعد ذلك فقلت يا رسول الله مرني بعمل آخذه عنك ينفعني الله به قال عليك بالصوم فإنه لا مثل له قال فكان أبو أمامة وامرأته وخادمه لا يلفون إلا صياما فإذا رأوا نارا أو دخانا بالنهار في منزلهم عرفوا أنهم اعتراهم ضيف قال ثم أتيته بعد فقلت يا رسول الله إنك قد أمرتني بأمر وأرجو أن يكون الله عز وجل قد نفعني به فمرني بأمر آخر ينفعني الله به قال اعلم أنك لا تسجد لله سجدة إلا رفع الله لك بها درجة أو حط أو قال وحط شك مهدي عنك بها خطيئة
Its isnad is sahih. Muhammad bin Abdullah bin Abu Yaqub Dabbi Tamimi Basri, who is sometimes attributed to his grandfather, was deemed trustworthy by Ibn Main and Ibn Hibban, and his hadith is found in the collections of all six (or the group of major compilers).The hadith was narrated by Tabarani in Al-Kabir 8/108, no. 7463, and by Ibn Hibban, p. 232, no. 929 of Al-Mawarid. Haythami said in 3/18, "Its narrators are the narrators of the sahih." See also 22040.