Muhammad bin al-Hanafiyyah quoted Ali as saying: I said: Messenger of Allah! tell me if a son is born to me after your death, may I give him your name and your kunyah? He replied: Yes. The transmitter Abu Bakr did not mention the words "I said". Instead, he said: Ali said to the Prophet ﷺ.
Related hadith on this topic
Explanation & Benefits
Shaykh Umar Farooq Saeedi
Benefits and Issues:
From this incident, the permissibility of adopting both a name and a kunyah (patronymic) is understood.
And Allah knows best.
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 4967