Punishments Sunan Ibn Majah 4021

Arabic hadith text
حَدَّثَنَا مُحَمَّدُ بْنُ الصَّبَّاحِ، حَدَّثَنَا عَمَّارُ بْنُ مُحَمَّدٍ، عَنْ لَيْثٍ، عَنِ الْمِنْهَالِ، عَنْ زَاذَانَ، عَنِ الْبَرَاءِ بْنِ عَازِبٍ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏"‏ ‏‏{يَلْعَنُهُمُ اللَّهُ وَيَلْعَنُهُمُ اللاَّعِنُونَ }‏ ‏"‏ ‏.‏ قَالَ ‏"‏ دَوَابُّ الأَرْضِ ‏"
Translation
It was narrated from Bara’ bin ‘Azib that the Messenger of Allah(ﷺ) said

“Allah will curse them and those who curse will cursethem.” He said: “The inhabitants of the earth.”