It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that once the Prophet (peace and blessings be upon him) was sitting in the shade of one of his chambers, and some Muslims were also present there. The Prophet (peace and blessings be upon him) said: "A man will come to you who sees with the eye of Satan. When he comes to you, do not speak to him." After a short while, a man with a bluish complexion came. The Prophet (peace and blessings be upon him) called him and said: "Why do you and your companions speak ill of me?" He said, "Stay as you are until I bring them to you." So he went and brought them, and they began to swear by Allah that they had neither said nor done anything. Regarding this, this verse was revealed: «﴿يَوْمَيَبْعَثُهُمُاللّٰهُجَمِيعًافَيَحْلِفُونَلَهُكَمَايَحْلِفُونَلَكُمْ . . . . .﴾ [المجادلة : 18]» "On the Day when Allah will raise them all up, they will swear to Him as they swear to you . . . . ." That they swear falsely and do not even realize it.
Hadith Referenceمسند احمد / ومن مسند بني هاشم / 3277