Shaykh Maulana Abdul Aziz Alvi
Hadith Commentary: Benefits and Issues: This verse was revealed concerning the two Ansar tribes: Banu Salamah, which is the Khazraj tribe of Jabir radi Allahu anhu, and Banu Harithah, which is from the Aws clan. This occurred when they saw that Abdullah bin Ubayy, along with his group, had abandoned the Muslims, resulting in a decrease in the number of Muslims. Consequently, a sense of discouragement began to arise among them, but Allah made their feet firm. This incident pertains to the Battle of Uhud.
Source: Tuhfat al-Muslim: Commentary on Sahih Muslim, Page: 6413