Anas bin Malik reported,

When the verse was revealed, "O you who believe, do not raise your voices above the voice of the Prophet, nor speak loudly to him as you speak loudly to one another, lest your deeds become void while you do not perceive it" [Hujurat 49:2], Thabit bin Qays said, "By Allah, I am the one who used to raise his voice in the presence of the Messenger of Allah ﷺ. I fear that I am among the people of the Fire."The Prophet ﷺ said, "Rather, he is among the people of Paradise."The narrator said, "We used to see him walking among us as a man from the people of Paradise," or as he said.

Azami 792

Sahih

عن أنس بن مالك، قال

لما نزلت: {يا أيها الذين آمنوا لا ترفعوا أصواتكم فوق صوت النبي ولا تجهروا له بالقول كجهر بعضكم لبعض أن تحبط أعمالكم وأنتم لا تشعرون} [سورة الحجرات]. قال: قال ثابت بن قيس: أنا والله الذي كنت أرفع صوتي عند رسول الله ﷺ وأنا أخشى أن أكون من أهل النار. فقال النبي ﷺ: بل هو من أهل الجنة. قال: فكنا نراه يمشي بين أظهرنا رجلا من أهل الجنة. أو كما قال.

الأعظمي 792صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Faith in the Prophet ﷺ
Section
What indicates that raising one's voice above the Prophet ﷺ is among the major sins and nullifies deeds
Numbering
Jami al-Kamil 792 (2nd edition)