While the Prophet (ﷺ) was in the market, a man called (somebody), "O Abu-l-Qasim!' The…

Sahih al-Bukhari Book 61 Hadith 46

Sahih al-Bukhari #3537

Virtues and Merits of the Prophet (pbuh) and his Companions 61:46

Narrated Anas:

While the Prophet (ﷺ) was in the market, a man called (somebody), "O Abu-l-Qasim!' The Prophet (ﷺ) turned to him and said "Name yourselves after me but do not call yourselves by my Kuniya."

Chapter: The Kunya of the Prophet (saws)

Grade: Sahih