Zaid b. Thabit reported that Allah's Apostle (ﷺ) set out for Uhud. Some of those persons who were with them came back. The Companions of Allah's Apostle (ﷺ) were divided in two groups. One group said:
We would kill them, and the other one said: No, this should not be done, and it was on this occasion that this verse was revealed:" Why should you, then, be two parties in relation to hypocrites?" (iv. 88).
Reference: Sahih Muslim 2776 a
In-book reference: Book 51, Hadith 8
USC-MSA web (English) reference(deprecated numbering scheme): Book 38, Hadith 6684