[Machine] Abu Rafa'i, the freed slave of the Messenger of Allah ﷺ , told me that when Hassan ibn Ali the Elder was born, his mother Fatimah wanted to sacrifice two sheep. The Messenger of Allah ﷺ said, "Do not sacrifice on his behalf, but shave his head and give charity of the weight of his hair in gold to the cause of Allah." After that, Hussein was born and she did the same for him.
أَخْبَرَنِي أَبُو رَافِعٍ مَوْلىَ رَسُولِ اللهِ ﷺ أَنَّ حَسَنَ بْنَ عَلِيٍّ الْأَكْبَرَ حِينَ وُلِدَ أَرَادَتْ أُمُّهُ فَاطِمَةُ أَنْ تَعُقَّ بِكَبْشَيْنِ فَقَالَ رَسُولُ اللهِ ﷺ لَا تَعُقِّي عَنْهُ وَلَكِنِ احْلِقِي شَعْرَ رَأْسِهِ ثُمَّ تَصَدَّقِي بِوَزْنِ رَأْسِهِ مِنَ الْوَرِقِ فِي سَبِيلِ اللهِ ثُمَّ وُلِدَ حُسَيْنٌ بَعْدَ ذَلِكَ فَصَنَعَتْ مِثْلَ ذَلِكَ