Sahih Muslim , Book 44, Hadith 191 (In-Book) ⓘ
Abdullah b. Samit reported that Abu Dharr said: Son of my brother, I used to observe prayer two years before the advent of Allah's Apostle. I said: To which direction did you turn your face? He said: To which Allah directed me to turn my face. The rest of the hadith is the same but with this addition that they went to a Kahin and his brother Unais began to praise him until he (in verses declared) him (Unais) as winner (in the contest of poetry), and so we got his camels, mixed them with our camels, and there is in this hadith also these words that Allah's Apostle came there and he circumambulated the House and observed two Rak'ahs of prayer behind the Station (of Ibrahim). I came to him and I was the first amongst persons to greet him with Assalam-o-'Alaikum, and I said to Allah's Messenger Let there be peace upon you. And he said: Let there be peace upon you too; who are you? And in the hadith (these words are) also found: Since how long have you been here? And Abu Bakr said: Let him be my guest tonight.
حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى الْعَنَزِيُّ، حَدَّثَنِي ابْنُ أَبِي عَدِيٍّ، قَالَ أَنْبَأَنَا ابْنُ عَوْنٍ، عَنْ حُمَيْدِ بْنِ هِلاَلٍ، عَنْ عَبْدِ اللَّهِ بْنِ الصَّامِتِ، قَالَ قَالَ أَبُو ذَرٍّ يَا ابْنَ أَخِي صَلَّيْتُ سَنَتَيْنِ قَبْلَ مَبْعَثِ النَّبِيِّ صلى الله عليه وسلم . قَالَ قُلْتُ فَأَيْنَ كُنْتَ تَوَجَّهُ قَالَ حَيْثُ وَجَّهَنِيَ اللَّهُ . وَاقْتَصَّ الْحَدِيثَ بِنَحْوِ حَدِيثِ سُلَيْمَانَ بْنِ الْمُغِيرَةِ وَقَالَ فِي الْحَدِيثِ فَتَنَافَرَا إِلَى رَجُلٍ مِنَ الْكُهَّانِ . قَالَ فَلَمْ يَزَلْ أَخِي أُنَيْسٌ يَمْدَحُهُ حَتَّى غَلَبَهُ - قَالَ - فَأَخَذْنَا صِرْمَتَهُ فَضَمَمْنَاهَا إِلَى صِرْمَتِنَا . وَقَالَ أَيْضًا فِي حَدِيثِهِ قَالَ فَجَاءَ النَّبِيُّ صلى الله عليه وسلم فَطَافَ بِالْبَيْتِ وَصَلَّى رَكْعَتَيْنِ خَلْفَ الْمَقَامِ - قَالَ - فَأَتَيْتُهُ فَإِنِّي لأَوَّلُ النَّاسِ حَيَّاهُ بِتَحِيَّةِ الإِسْلاَمِ - قَالَ - قُلْتُ السَّلاَمُ عَلَيْكَ يَا رَسُولَ اللَّهِ . قَالَ " وَعَلَيْكَ السَّلاَمُ مَنْ أَنْتَ " . وَفِي حَدِيثِهِ أَيْضًا فَقَالَ " مُنْذُ كَمْ أَنْتَ هَا هُنَا " . قَالَ قُلْتُ مُنْذُ خَمْسَ عَشْرَةَ . وَفِيهِ فَقَالَ أَبُو بَكْرٍ أَتْحِفْنِي بِضِيَافَتِهِ اللَّيْلَةَ .
also referenced under: Hadith 2473 (Reference) & Book 31, Hadith 6048 (USC-MSA)