The Book of the Prohibited actions
Riyad as-Salihin #874
كتاب الأمور المنهي عنها
وعن أبي الدرداء رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم: «لا يكون اللعانون شفعاء، ولا شهداء يوم القيامة» ((رواه مسلم)).
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.”.
وعن أبي الدرداء رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم : "لا يكون اللعانون شفعاء، ولا شهداء يوم القيامة" ((رواه مسلم)).
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.".
— Riyad as-Salihin, Hadith 874