Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:81:8

And when the girl ˹who was˺ buried alive is asked  

and when the girl buried-alive, the young girl buried alive for fear of shame and impoverishment, asks — in rebuke of its slayer —
القرآن:٨١:٨

وَإِذَا الْمَوْءُودَةُ سُئِلَتْ  

{وإذا الموءودة} الجارية تدفن حية خوف العار والحاجة {سئلت} تبكيتا لقاتلها.