Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
abudawud:4698ʿUthmān b. Abū Shaybah > Jarīr > Abū Farwah al-Hamdānī > Abū Zurʿah b. ʿAmr b. Jarīr > Abū Dhar And ʾAbī Hurayrah

The Messenger of Allah ﷺ used to sit among his Companions. A stranger would come and not recognize him (the Prophet) until he asked (about him). So we asked the Messenger of Allah ﷺ to make a place where he might take his seat so that when a stranger came, he might recognise him. So we built a terrace of soil on which he would take his seat, and we would sit beside him. He then mentioned something similar to this Hadith saying: A man came, and he described his appearance. He saluted from the side of the assembly, saying: Peace be upon you, Muhammad. The Prophet ﷺ then responded to him.  

أبو داود:٤٦٩٨حَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا جَرِيرٌ عَنْ أَبِي فَرْوَةَ الْهَمْدَانِيِّ عَنْ أَبِي زُرْعَةَ بْنِ عَمْرِو بْنِ جَرِيرٍ

عَنْ أَبِي ذَرٍّ وَأَبِي هُرَيْرَةَ قَالاَ كَانَ رَسُولُ اللَّهِ ﷺ يَجْلِسُ بَيْنَ ظَهْرَىْ أَصْحَابِهِ فَيَجِيءُ الْغَرِيبُ فَلاَ يَدْرِي أَيُّهُمْ هُوَ حَتَّى يَسْأَلَ فَطَلَبْنَا إِلَى رَسُولِ اللَّهِ ﷺ أَنْ نَجْعَلَ لَهُ مَجْلِسًا يَعْرِفُهُ الْغَرِيبُ إِذَا أَتَاهُ قَالَ فَبَنَيْنَا لَهُ دُكَّانًا مِنْ طِينٍ فَجَلَسَ عَلَيْهِ وَكُنَّا نَجْلِسُ بِجَنْبَتَيْهِ وَذَكَرَ نَحْوَ هَذَا الْخَبَرِ فَأَقْبَلَ رَجُلٌ فَذَكَرَ هَيْئَتَهُ حَتَّى سَلَّمَ مِنْ طَرْفِ السِّمَاطِ فَقَالَ السَّلاَمُ عَلَيْكَ يَا مُحَمَّدُ قَالَ فَرَدَّ عَلَيْهِ النَّبِيُّ ﷺ  


See similar narrations below:

Collected by Nasāʾī's Kubrá
nasai-kubra:5843Isḥāq b. Ibrāhīm > Jarīr > Abū Farwah > Abū Zurʿah b. ʿAmr b. Jarīr > Abū Hurayrah And ʾAbī Dhar

[Machine] Abu Hurayrah and Abu Dhar reported that the Messenger of Allah ﷺ used to sit between the two companions and a stranger would come, and he wouldn't know who amongst them was the Messenger of Allah ﷺ until he asked. So we requested the Messenger of Allah ﷺ to create a gathering in which the stranger would recognize him when he came, so we built a booth for him with mud, and he would sit on it with us on either side.  

الكبرى للنسائي:٥٨٤٣أَخْبَرَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ قَالَ أَنْبَأَنَا جَرِيرٌ عَنْ أَبِي فَرْوَةَ عَنْ أَبِي زُرْعَةَ بْنِ عَمْرِو بْنِ جَرِيرٍ

عَنْ أَبِي هُرَيْرَةَ وَأَبِي ذَرٍّ قَالَا كَانَ رَسُولُ اللهِ ﷺ «يَجْلِسُ بَيْنَ ظَهْرَانَيْ أَصْحَابِهِ فَيَجِيءُ الْغَرِيبُ فَلَا يَدْرِي أَيُّهُمْ هُوَ حَتَّى يَسْأَلَ فَطَلَبْنَا إِلَى رَسُولِ اللهِ ﷺ أَنْ نَجْعَلَ لَهُ مَجْلِسًا فَيَعْرِفُهُ الْغَرِيبُ إِذَا أَتَاهُ فَبَنَيْنَا لَهُ دُكَّانًا مِنْ طِينٍ فَكَانَ يَجْلِسُ عَلَيْهِ وَكُنَّا نَجْلِسُ بِجَانِبَيْهِ سِمَاطَيْنِ»