Abu Waqid reported,

While we were sitting with the Messenger of Allah ﷺ, three men passed by. One of them came forward, found a gap in the circle, and sat down in it. The second sat down behind the gathering. The third turned away and left.The Messenger of Allah ﷺ said, "Shall I tell you about these three men?"They replied, "Yes, Messenger of Allah."He said, "As for the one who came forward and sat down, he sought refuge with Allah, so Allah gave him refuge. As for the one who sat behind you, he felt shy, so Allah was shy with him. But as for the one who turned away, he turned his back, so Allah turned away from him."

Ahmad 21907

Sahih

حدثنا عبد الصمد حدثنا حرب يعني ابن شداد حدثنا يحيى يعني ابن أبي كثير حدثني إسحاق بن عبد الله بن أبي طلحة عن حديث أبي مرة أن

أبا واقد الليثي حدثه قال

بينما نحن مع رسول الله ﷺ إذ مر ثلاثة نفر فجاء أحدهم فوجد فرجة في الحلقة فجلس وجلس الآخر من ورائهم وانطلق الثالث فقال رسول الله ﷺ ألا أخبركم بخبر هؤلاء النفر قالوا بلى يا رسول الله قال أما الذي جاء فجلس فأوى فآواه الله والذي جلس من ورائكم فاستحى فاستحى الله منه وأما الذي انطلق رجل أعرض فأعرض الله عنه

أحمد 21907صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Waqid Laythi
Numbering
Darussalam 21907
Ahmad 21907