Abdullah bin Umar reported,

We used to call Zayd bin Haritha nothing other than Zayd bin Muhammad, until the Quran was revealed, "Call them by the names of their fathers, that is more just in the sight of Allah" [Ahzab 33:5].

Tirmidhi 3209

Sahih

حدثنا قتيبة حدثنا يعقوب بن عبد الرحمن عن موسى بن عقبة عن سالم

عن ابن عمر قال

ما كنا ندعو زيد بن حارثة إلا زيد ابن محمد حتى نزل القرآن {ادعوهم لآبائهم هو أقسط عند الله}

الترمذي 3209صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Tafsir of the Quran
Chapter
From Surah Ahzab
Numbering
Darussalam 3209
Tirmidhi 3209