While Messenger of Allah ﷺ was sitting in the mosque (with some people) three men came, two of them came in front of Messenger of Allah ﷺ and the third one went away, and then one of them found a place in the circle and sat there while the second man sat behind the gathering, and the third one went away. When Messenger of Allah ﷺ finished his preaching, he said, "Shall I tell you about these three persons? One of them betook himself to Allah and so Allah accepted him and accommodated him; the second felt shy before Allah so Allah did the same for him and sheltered him in His Mercy (and did not punish him), while the third turned his face from Allah, and went away, so Allah turned His face from him likewise.
بَيْنَمَا رَسُولُ اللَّهِ ﷺ فِي الْمَسْجِدِ فَأَقْبَلَ ثَلاَثَةُ نَفَرٍ فَأَقْبَلَ اثْنَانِ إِلَى رَسُولِ اللَّهِ ﷺ وَذَهَبَ وَاحِدٌ فَأَمَّا أَحَدُهُمَا فَرَأَى فُرْجَةً فَجَلَسَ وَأَمَّا الآخَرُ فَجَلَسَ خَلْفَهُمْ فَلَمَّا فَرَغَ رَسُولُ اللَّهِ ﷺ قَالَ أَلاَ أُخْبِرُكُمْ عَنِ الثَّلاَثَةِ أَمَّا أَحَدُهُمْ فَأَوَى إِلَى اللَّهِ فَآوَاهُ اللَّهُ وَأَمَّا الآخَرُ فَاسْتَحْيَا فَاسْتَحْيَا اللَّهُ مِنْهُ وَأَمَّا الآخَرُ فَأَعْرَضَ فَأَعْرَضَ اللَّهُ عَنْهُ