The Messenger of Allah ﷺ said, "The woman who buries her infant daughter alive and the buried infant girl are both in the Fire."Yahya bin Zakariyya said, "My father told me that Abu Ishaq narrated to him that Amir reported this to him from Alqama, from Ibn Masud, from the Prophet ﷺ."
حدثنا إبراهيم بن موسى الرازي حدثنا ابن أبي زائدة قال حدثني أبي
قال رسول الله ﷺ الوائدة والموءودة في النار قال يحيى بن زكريا قال أبي فحدثني أبو إسحق أن عامرا حدثه بذلك عن علقمة عن ابن مسعود عن النبي ﷺ
No references are available.
Sourcing, [sahih] Tabarani reported it in Kabir, 10/114, no. 10059, from the hadith of Yahya bin Zakariya bin Abu Zaida, through this route. The hadith has supporting narrations, see tafsir of Ibn Kathir, 4/509.