Riyad as-SalihinChapter 17Hadith 881
Full Sharh — Riyad as-Salihin 881
وعن أبي ذر رضي الله عنه أنه سمع رسول الله صلى الله عليه وسلم يقول: "لا يرمي رجل رجلا بالفسق أو الكفر، إلا ارتدت عليه، إن لم يكن صاحبه كذلك" ((رواه البخاري)).
English Translation
Abu Dharr (May Allah be pleased with him) reported:: I heard the Messenger of Allah (ﷺ) saying, "When any Muslim accuses another Muslim of sin or of disbelief, the reproach rebounds upon the one who utters it, if the other person is not deserving of it.".
Source
Riyad as-Salihin(رياض الصالحين)
The Book of the Prohibited actions
Hadith Number
881