Justification of Cursing the Wrongdoers without Specifying one of them

Riyad-us-Saliheen 1559
Ibn Mas'ud (May Allah be pleased with him) reported: The Messenger of Allah (PBUH) said, "Reviling a Muslim is Fusuq (disobedience of Allah) and killing him is (tantamount to) disbelief."

[Al-Bukhari and Muslim]

"Killing him is (tantamount) to disbelief" means that in terms of sin and prohibition, it is akin to Kufr. This Hadith makes the severity of this crime abundantly clear.