The Messenger of Allah ﷺ said, "Whoever spends a pair of anything in the path of Allah will be called from within Paradise, 'Servant of Allah, this is good!' Whoever is among the people of prayer will be called from the gate of prayer. Whoever is among the people of jihad will be called from the gate of jihad. Whoever is among the people of charity will be called from the gate of charity. And whoever is among the people of fasting will be called from the gate of Rayyan."Abu Bakr al-Siddiq asked, "Messenger of Allah, no harm would come to anyone called from any of those gates, but will anyone be called from all of those gates?"The Messenger of Allah ﷺ replied, "Yes, and I hope that you will be among them."
أخبرنا أحمد بن عمرو بن السرح والحارث بن مسكين قراءة عليه وأنا أسمع عن ابن وهب قال أخبرني مالك ويونس عن ابن شهاب عن حميد بن عبد الرحمن
عن رسول الله ﷺ قال من أنفق زوجين في سبيل الله عز وجل نودي في الجنة يا عبد الله هذا خير فمن كان من أهل الصلاة يدعى من باب الصلاة ومن كان من أهل الجهاد يدعى من باب الجهاد ومن كان من أهل الصدقة يدعى من باب الصدقة ومن كان من أهل الصيام دعي من باب الريان قال أبو بكر الصديق يا رسول الله ما على أحد يدعى من تلك الأبواب من ضرورة فهل يدعى أحد من تلك الأبواب كلها قال رسول الله ﷺ نعم وأرجو أن تكون منهم
Muslim narrated it in the Book of Zakat, chapter "The Merit of One Who Combines Charity with Other Kinds of Good Deeds," hadith 1027, from the hadith of Ibn Wahb from Yunus with this wording. Bukhari narrated it in the Book of Fasting, chapter "Rayyan for Those Who Fast," hadith 1897, from the hadith of Malik from Ibn Shihab Zuhri with this wording. It is also found in Kubra, hadith 2546.