Battles (Kitab Al-Malahim)
Dawud :: Book 37 : Hadith 4323
Narrated Abdullah ibn Mas'ud:
A similar tradition (to the No. 4322) has also been transmitted by Ibn Mas'ud through a different chain of narrators to the same effect.
This version adds: "Or Allah will mingle your hearts together and curse you as He cursed them."