Sahih Bukhari | Volume 4 | Hadith Number 737

Narrated by 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."