Reviling the Companions—may Allah be pleased with them—is unlawful for the Prophet’s Household and for everyone else:
It is soundly reported in the authentic collections, on the authority of the Commander of the Believers ʿAlī ibn Abī Ṭālib (may Allah be pleased with him), that Ḥāṭib ibn Abī Baltaʿa wrote to the unbelievers of Mecca when the Prophet—peace and blessings be upon him—intended to march against them at the time of the Conquest. He entrusted the letter to a woman who set out with it, but revelation came to the Prophet informing him of what had occurred. He therefore dispatched ʿAlī and al-Zubayr, who retrieved the letter. The Prophet said, “What is this, O Ḥāṭib?” Ḥāṭib replied, “By Allah, O Messenger of Allah, I did not do this out of hostility or disbelief. I am only a man attached to Quraysh, not one of their core clans, whereas the Companions who are with you have relatives there who look after their families. I wished to earn a favor with them so they might protect my kin.” ʿUmar ibn al-Khaṭṭāb (may Allah be pleased with him) said, “Allow me, O Messenger of Allah, to strike the neck of this hypocrite.” The Prophet responded, “He fought at Badr; and how would you know? Perhaps Allah has looked upon the people of Badr and said, ‘Do whatever you wish, for I have forgiven you.’” Concerning this, Allah the Exalted revealed: “O you who believe, do not take My enemy and your enemy as allies, extending to them affection…” (verses) 2.