Aisha reported: Abu Bakr once cursed some of his slaves. The Prophet, peace and blessings be upon him, said, “O Abu Bakr! Those who curse, or those who are true? No, by the Lord of the Ka’bah!” The Prophet said it two or three times. On that day, Abu Bakr freed some of his slaves. Then, the Prophet came to him, saying, “Do not do it again.”
Source: al-Adab al-Mufrad lil-Bukhārī 319
Grade: Sahih (authentic) according to Al-Albani
قَالَ عَائِشَةُ أَنَّ أَبَا بَكْرٍ لَعَنَ بَعْضَ رَقِيقِهِ فَقَالَ النَّبِيُّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ يَا أَبَا بَكْرٍ اللَّعَّانِينَ وَالصِّدِّيقِينَ كَلاَّ وَرَبِّ الْكَعْبَةِ مَرَّتَيْنِ أَوْ ثَلاَثًا فَأَعْتَقَ أَبُو بَكْرٍ يَوْمَئِذٍ بَعْضَ رَقِيقِهِ ثُمَّ جَاءَ النَّبِيُّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ فَقَالَ لا أَعُودُ
319 الأدب المفرد البخاري باب من لعن عبده فأعتقه
1/132 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح الأدب المفرد