Anas bin Malik reported,

The Prophet ﷺ missed Thabit bin Qays, so a man said, "Messenger of Allah, I will find out his news for you."He went to him and found him sitting in his house with his head lowered. He asked him, "What is the matter with you?"Thabit replied, "It is bad. He used to raise his voice above the voice of the Prophet ﷺ, so his deeds have been rendered worthless, and he is among the people of the Fire."The man went to the Prophet ﷺ and informed him that Thabit had said such and such.Musa said, He returned to him the second time with great glad tidings, for the Prophet ﷺ said, "Go to him and tell him, 'You are not among the people of the Fire, rather you are among the people of Paradise.'"

Bukhari 4846

Sahih

حدثنا علي بن عبد الله حدثنا أزهر بن سعد أخبرنا ابن عون قال أنبأني موسى بن أنس

عن أنس بن مالك رضي الله عنه

أن النبي ﷺ افتقد ثابت بن قيس فقال رجل يا رسول الله أنا أعلم لك علمه فأتاه فوجده جالسا في بيته منكسا رأسه فقال له ما شأنك فقال شر كان يرفع صوته فوق صوت النبي ﷺ فقد حبط عمله وهو من أهل النار فأتى الرجل النبي ﷺ فأخبره أنه قال كذا وكذا فقال موسى فرجع إليه المرة الآخرة ببشارة عظيمة فقال اذهب إليه فقل له إنك لست من أهل النار ولكنك من أهل الجنة

البخاري 4846صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tafsir
Chapter
Do not raise your voices above the voice of the Prophet
Numbering
Darussalam 4846
Bukhari 4846