´Narrated 'Ali bin Abi Talib:` that he said: "O Messenger of Allah (ﷺ)! If I have a son after you do you think I could name him your Kunyah?" He said: "Yes." So he said: "So that was permitted for me."
Hadith ReferenceSunan at-Tirmidhi / Chapters on Manners / Hadith: 2843