Abu Waqid al-Laythi (may Allah be pleased with him) says that the Messenger of Allah (peace and blessings be upon him) was sitting among us in the mosque, and the people were with him (peace and blessings be upon him). Suddenly a group of three men came. Two came to the Prophet (peace and blessings be upon him) and one went away. Of the two men who stopped by him (peace and blessings be upon him), one saw an empty space in the gathering and sat there, and the other sat behind them. The third went away. When the Prophet (peace and blessings be upon him) had finished, he said: "Shall I not tell you about the group of three people? One of them took refuge with Allah, so Allah gave him refuge. The second felt shy before Allah, so Allah too was shy of him. And the third turned away from Allah, so Allah too turned away from him."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجمعة / 5891