Sahih Muslim Book 45, Hadith 108
I heard you cursing your servant during the night when you called him, and she said: I heard Abu Darda' as saying that Allah's Messenger (ﷺ) said: The invoker of curse would neither be intercessor nor witness on the Day of Resurrection.