It is narrated from Sayyida Umm Karz (may Allah be pleased with her) that she said: I went to the Prophet (ﷺ) and was asking about the meat of the sacrifice, when I heard him (ﷺ) say: "For a boy, two goats should be slaughtered, and for a girl, one goat; there is no harm whether they are male or female."
Hadith Referenceالسنن المأثورة / باب من أعتق شركا له في عبد / 566
Hadith Takhrijسنن ابی داؤد، العقيقة، رقم: 2835، سنن نسائی، العقيقة، باب كم يعق عن الجارية، رقم: 4217 وقال الالبانی: صحيح، سنن ابن ماجة، الذبائح، باب العقيقة، رقم: 3162۔