I heard Allah's Messenger (ﷺ) as saying: The invoker of curse would neither be witness nor intercessor on the Day of Resurrection.
Sahih Muslim Book 45, Hadith 110