Sahih Muslim, Book 45, Hadith 110 (Muslim 6541)

Umm Darda' reported on the authority of Abu Darda' as saying:

I heard Allah's Messenger (ﷺ) as saying: The invoker of curse would neither be witness nor intercessor on the Day of Resurrection.