Language:
كتاب فضائل أصحاب النبى صلى الله عليه وسلم
62  
Companions of the Prophet
(5)
Chapter: "If I were to take Khalil ..."
(5)
باب قَوْلِ النَّبِيِّ صلى الله عليه وسلم ‏"‏ لَوْ كُنْتُ مُتَّخِذًا خَلِيلاً ‏"‏ قَالَهُ أَبُو سَعِيدٍ
Sahih al-Bukhari 3666

Narrated Abu Huraira:

I heard Allah's Messenger (ﷺ) saying, "Anybody who spends a pair of something in Allah's Cause will be called from all the gates of Paradise, "O Allah's slave! This is good.' He who is amongst those who pray will be called from the gate of the prayer (in Paradise) and he who is from the people of Jihad will be called from the gate of Jihad, and he who is from those' who give in charity (i.e. Zakat) will be called from the gate of charity, and he who is amongst those who observe fast will be called from the gate of fasting, the gate of Raiyan." Abu Bakr said, "He who is called from all those gates will need nothing," He added, "Will anyone be called from all those gates, O Allah's Messenger (ﷺ)?" He said, "Yes, and I hope you will be among those, O Abu Bakr."

حَدَّثَنَا أَبُو الْيَمَانِ، حَدَّثَنَا شُعَيْبٌ، عَنِ الزُّهْرِيِّ، قَالَ أَخْبَرَنِي حُمَيْدُ بْنُ عَبْدِ الرَّحْمَنِ بْنِ عَوْفٍ، أَنَّ أَبَا هُرَيْرَةَ، قَالَ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ ‏"‏ مَنْ أَنْفَقَ زَوْجَيْنِ مِنْ شَىْءٍ مِنَ الأَشْيَاءِ فِي سَبِيلِ اللَّهِ دُعِيَ مِنْ أَبْوَابِ ـ يَعْنِي الْجَنَّةَ ـ يَا عَبْدَ اللَّهِ هَذَا خَيْرٌ، فَمَنْ كَانَ مِنْ أَهْلِ الصَّلاَةِ دُعِيَ مِنْ باب الصَّلاَةِ، وَمَنْ كَانَ مِنْ أَهْلِ الْجِهَادِ دُعِيَ مِنْ باب الْجِهَادِ، وَمَنْ كَانَ مِنْ أَهْلِ الصَّدَقَةِ دُعِيَ مِنْ باب الصَّدَقَةِ، وَمَنْ كَانَ مِنْ أَهْلِ الصِّيَامِ دُعِيَ مِنْ باب الصِّيَامِ، وَبَابِ الرَّيَّانِ ‏"‏‏.‏ فَقَالَ أَبُو بَكْرٍ مَا عَلَى هَذَا الَّذِي يُدْعَى مِنْ تِلْكَ الأَبْوَابِ مِنْ ضَرُورَةٍ، وَقَالَ هَلْ يُدْعَى مِنْهَا كُلِّهَا أَحَدٌ يَا رَسُولَ اللَّهِ قَالَ ‏"‏ نَعَمْ، وَأَرْجُو أَنْ تَكُونَ مِنْهُمْ يَا أَبَا بَكْرٍ ‏"‏‏.‏
Reference : Sahih al-Bukhari 3666
In-book reference : Book 62, Hadith 18
USC-MSA web (English) reference : Vol. 5, Book 57, Hadith 18
  (deprecated numbering scheme)