BAYHAQI 19300:
from al-Ḥasan b. ʿAlī ʿAlayhimā al-Salām Ḥīn Waladath Ummuh Arādat —
[Machine] That she (a woman) vows to offer a sacrifice of a great ram, so she came to the Prophet ﷺ and he said to her, "Do not offer any sacrifice, but shave his head and then give charity of its weight in silver for the sake of Allah or give it to a poor person." And she gave birth to Al-Hussein the following year. So Ibn Aqeel did the same thing which no one else did. And if this is authentic, it is as if he wanted to take on the responsibility of the 'Aqeeqah (sacrifice offered upon the birth of a child) for both of them himself, as we narrated it. So he commanded her to do something else, which is to give charity of the weight of their hair in silver, and success is from Allah.
البيهقي ١٩٣٠٠:
عن الحسن بن علي عليهما السلام حين ولدث امه ارادت —
أَنْ تَعُقَّ عَنْهُ بِكَبْشٍ عَظِيمٍ فَأَتَتِ النَّبِيَّ ﷺ فَقَالَ لَهَا لَا تَعُقِّي عَنْهُ بِشَيْءٍ وَلَكِنِ احْلِقِي شَعْرَ رَأْسِهِ ثُمَّ تَصَدَّقِي بِوَزْنِهِ مِنَ الْوَرِقِ فِي سَبِيلِ اللهِ ﷻ أَوْ عَلَى ابْنِ السَّبِيلِ وَوَلَدَتِ الْحُسَيْنَ مِنَ الْعَامِ الْمُقْبِلِ فَصَنَعَتْ مِثْلَ ذَلِكَ تَفَرَّدَ بِهِ ابْنُ عَقِيلٍ وَهُوَ إِنْ صَحَّ فَكَأَنَّهُ أَرَادَ أَنْ يَتَوَلَّى الْعَقِيقَةَ عَنْهُمَا بِنَفْسِهِ كَمَا رُوِّينَاهُ فَأَمَرَهَا بِغَيْرِهَا وَهُوَ التَّصَدُّقُ بِوَزْنِ شَعْرِهِمَا مِنَ الْوَرِقِ وَبِاللهِ التَّوْفِيقُ
hadithunlocked.com