Hadithcore
Sahih al-Bukhari, 3828
sahih

Narrated Asma bint Abi Bakr:

I saw Zaid bin Amr bin Nufail standing with his back against the Ka'ba and saying, "O people of Quraish! By Allah, none amongst you is on the religion of Abraham except me." He used to preserve the lives of little girls: If somebody wanted to kill his daughter he would say to him, "Do not kill her for I will feed her on your behalf." So he would take her, and when she grew up nicely, he would say to her father, "Now if you want her, I will give her to you, and if you wish, I will feed her on your behalf."

وَقَالَ اللَّيْثُ كَتَبَ إِلَىَّ هِشَامٌ عَنْ أَبِيهِ، عَنْ أَسْمَاءَ بِنْتِ أَبِي بَكْرٍ ـ رضى الله عنهما ـ قَالَتْ رَأَيْتُ زَيْدَ بْنَ عَمْرِو بْنِ نُفَيْلٍ قَائِمًا مُسْنِدًا ظَهْرَهُ إِلَى الْكَعْبَةِ يَقُولُ يَا مَعَاشِرَ قُرَيْشٍ، وَاللَّهِ مَا مِنْكُمْ عَلَى دِينِ إِبْرَاهِيمَ غَيْرِي، وَكَانَ يُحْيِي الْمَوْءُودَةَ، يَقُولُ لِلرَّجُلِ إِذَا أَرَادَ أَنْ يَقْتُلَ ابْنَتَهُ لاَ تَقْتُلْهَا، أَنَا أَكْفِيكَهَا مَئُونَتَهَا‏.‏ فَيَأْخُذُهَا فَإِذَا تَرَعْرَعَتْ قَالَ لأَبِيهَا إِنْ شِئْتَ دَفَعْتُهَا إِلَيْكَ، وَإِنْ شِئْتَ كَفَيْتُكَ مَئُونَتَهَا‏.‏

References2 variants
In-Book Reference
Book 63, Hadith 53
USC-MSA web (English) reference
Vol. 5, Book 58, Hadith 169 (deprecated numbering scheme)