It was narrated that Anas said:
The Messenger of Allah(ﷺ) was in Baqi', and a man called out to another man: 'O Abul-Qasim!' The Messenger of Allah(ﷺ) turned to him, and he said: 'I didn't mean you.' The Messenger of Allah(ﷺ) said: 'Call yourselves by my name but do not call yourselves by my Kunyah.'