BAYHAQI 19297:
from Jaʿfar b. Muḥammad from his father from his grandfather —
[Machine] Fatimah, the daughter of the Messenger of Allah ﷺ, is reported to have sacrificed a sheep for Hassan and Hussein when she gave birth to them, then shaved their hair. She then donated (charitably) the equivalent weight of their hair in silver.
البيهقي ١٩٢٩٧:
عن جعفر بن محمد عن أبيه عن جده —
أَنَّ فَاطِمَةَ بِنْتَ رَسُولِ اللهِ ﷺ ذَبَحَتْ عَنْ حَسَنٍ وَحُسَيْنٍ حِينَ وَلَدَتْهُمَا شَاةً وَحَلَقَتْ شُعُورَهُمَا ثم تَصَدَّقَتْ بِوَزْنِهِ فِضَّةً
hadithunlocked.com