The companions were chanting rhythmic verses with the Messenger of Allah ﷺ among them, saying, "O Allah, there is no good except the good of the Hereafter, so grant victory to the Ansar and the Muhajirun."In Shayban's version of the hadith, instead of "grant victory" (fansur), it reads "forgive" (faghfir).
و حدثنا يحيى بن يحيى وشيبان بن فروخ قال يحيى أخبرنا و قال شيبان حدثنا عبد الوارث عن أبي التياح
كانوا يرتجزون ورسول الله ﷺ معهم وهم يقولون اللهم لا خير إلا خير الآخره فانصر الأنصار والمهاجره وفي حديث شيبان بدل فانصر فاغفر