Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) says: The daughter of Sayyiduna Hamzah (may Allah be pleased with him) came after us, calling out: "Uncle! Uncle!" I took hold of her and handed her over to Sayyidah Fatimah (may Allah be pleased with her). Then Sayyiduna Ali, Sayyiduna Zayd bin Harithah and Sayyiduna Ja'far (may Allah be pleased with them) disputed. Sayyiduna Ali (may Allah be pleased with him) said: I took hold of her, and she is the daughter of my paternal uncle. Sayyiduna Ja'far (may Allah be pleased with him) said: She is the daughter of my paternal uncle too, and her maternal aunt is married to me. Sayyiduna Zayd (may Allah be pleased with him) said: She is my brother's daughter. The Messenger of Allah (peace and blessings be upon him) ruled in favour of the maternal aunt and said: "The maternal aunt is in the position of the mother." He said to Sayyiduna Zayd (may Allah be pleased with him): "You are our brother and our mawla," and he hopped back on his feet. Then he said to Sayyiduna Ja'far (may Allah be pleased with him): "You resemble me most of all in appearance and character," and he too hopped on one foot behind Zayd. And he said to Sayyiduna Ali (may Allah be pleased with him): "You are from me and I am from you," and he went behind Sayyiduna Ja'far (may Allah be pleased with him). Sayyiduna Ali (may Allah be pleased with him) says: I said: O Messenger of Allah! Will you not marry the daughter of Sayyiduna Hamzah (may Allah be pleased with him)? He (peace and blessings be upon him) said: "She is the daughter of my foster brother." It is possible that in the narration of Abu Ishaq from al-Bara' the story of the daughter of Hamzah is abridged, and that it was then narrated in full from Sayyiduna Ali (may Allah be pleased with him), and that the story of hopping on the feet is in this narration only, not in the narration of al-Bara'.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النفقات / 15770