Abud-Darda' (May Allah be pleased with him) said:
The Messenger of Allah (ﷺ) said, "Those who frequently resort to cursing (people) would neither be accepted as witnesses nor as intercessors on the Day of Resurrection."[Muslim].
App reference: Book 18, Hadith 43
Arabic/English book reference: Book 18, Hadith 1553