Asma bint Abu Bakr reported,

I saw Zayd bin Amr bin Nufayl standing with his back leaning against the Kaabah, saying, "People of Quraysh, by Allah, none of you follows the religion of Ibrahim except me."He used to save the lives of infant girls buried alive. Whenever a man intended to kill his daughter, Zayd would say to him, "Do not kill her. I will take care of her expenses for you." So he would take the girl, and when she grew up, he would say to her father, "If you wish, I will hand her over to you, and if you wish, I will continue to provide for her."

Bukhari 3828

Sahih

وقال الليث كتب إلي هشام عن أبيه

عن أسماء بنت أبي بكر رضي الله عنهما قالت

رأيت زيد بن عمرو بن نفيل قائما مسندا ظهره إلى الكعبة يقول يا معاشر قريش والله ما منكم على دين إبراهيم غيري وكان يحيي الموءودة يقول للرجل إذا أراد أن يقتل ابنته لا تقتلها أنا أكفيكها مئونتها فيأخذها فإذا ترعرعت قال لأبيها إن شئت دفعتها إليك وإن شئت كفيتك مئونتها

البخاري 3828صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Virtues of the Ansar
Chapter
Hadith of Zayd bin Amr bin Nufayl
Numbering
Darussalam 3828
Bukhari 3828