The Messenger of Allah ﷺ was sitting in the shade of one of his rooms with a group of Muslims, and the shade had nearly shrunk away from them. He said, "A man is about to come to you who will look at you with the eyes of a devil. When he comes, do not speak to him."Then a blue eyed man arrived, and the Messenger of Allah ﷺ called him over and spoke with him. He asked him, "Why do you insult me, you and so and so and so and so?" naming several men.The man went off and summoned them, and they swore by Allah and offered him their excuses. So Allah revealed, "swearing to Him as they swear to you, thinking..." [Mujadila 58:18], to the end of the verse.
حدثنا حسن بن موسى حدثنا زهير حدثنا سماك حدثني سعيد بن جبير أن
كان رسول الله ﷺ في ظل حجرة من حجره وعنده نفر من المسلمين قد كاد يقلص عنهم الظل قال فقال إنه سيأتيكم إنسان ينظر إليكم بعيني شيطان فإذا أتاكم فلا تكلموه قال فجاء رجل أزرق فدعاه رسول الله ﷺ فكلمه قال علام تشتمني أنت وفلان وفلان نفر دعاهم بأسمائهم قال فذهب الرجل فدعاهم فحلفوا بالله واعتذروا إليه قال فأنزل الله عز وجل {يحلفون له كما يحلفون لكم ويحسبون} الآية