When the Prophet ﷺ set out for Uhud, some of his companions turned back. One group said, "Let us kill them," while another group said, "We should not kill them." Then the verse was revealed, "What is the matter with you that you are divided into two groups concerning the hypocrites" [Nisa 4:88].The Prophet ﷺ said, "It (Madinah) drives out Some men just as fire drives out the impurities of iron."
حدثنا سليمان بن حرب حدثنا شعبة عن عدي بن ثابت عن عبد الله بن يزيد قال سمعت
ما خرج النبي ﷺ إلى أحد رجع ناس من أصحابه فقالت فرقة نقتلهم وقالت فرقة لا نقتلهم فنزلت {فما لكم في المنافقين فئتين} وقال النبي ﷺ إنها تنفي الرجال كما تنفي النار خبث الحديد