Muhammad Ibn al-Hanafiyyah (may Allah have mercy on him) said: This was a concession for Sayyiduna Ali (may Allah be pleased with him), when he said: "O Messenger of Allah (peace and blessings be upon him), if a child is born to me after you, may I give him a name like your (peace and blessings be upon him) name and a kunyah like your (peace and blessings be upon him) kunyah?" He (peace and blessings be upon him) replied in the affirmative.
It was also narrated through another, weak route from Muhammad Ibn al-Hanafiyyah, and there is disagreement over whether this hadith is connected (mawsul).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الضحايا / 19330