Multiple hadiths reference pre-Islamic female infanticide. The Quran (81:8-9) mentions girls buried alive being asked "for what sin they were killed."
What the hadith says
The Quran (81:8-9) and multiple hadiths reference the pre-Islamic Arabian practice of burying infant girls alive. Islam is consistently presented — in both classical and modern Islamic discourse — as the tradition that abolished this practice, and the reform is frequently cited as evidence of Islam's fundamentally pro-women character.
Why this is a problem
The reform itself is real — Islam did forbid female infanticide, and this was a genuine improvement over whatever practice existed before. The problem is the rhetorical use made of it. As ex-Muslim critic Ibn Warraq argues in 'Why I Am Not a Muslim', and as Kecia Ali, in Sexual Ethics and Islam reinforces, modern scholarship questions how universal female infanticide actually was in pre-Islamic Arabia: the Quran and hadith's portrait of wholesale pre-Islamic atrocity is likely exaggerated to heighten the contrast with the Islamic reform. More importantly, the reform is routinely cited as proof that Islam is comprehensively pro-women — a claim that cannot survive contact with the full legal framework Islam then established.
The same tradition that banned female infanticide also codified female inheritance at half the male share, permitted polygyny and slave concubinage, imposed extensive restrictions on women's movement and testimony, assigned women less than full legal personhood in multiple domains, and embedded a theology in which the male and female were created in relation to one another with specific structural advantages allocated to men. Ali's work is particularly pointed here: citing the infanticide reform as evidence of Islam's overall posture toward women requires ignoring the comprehensive legal subordination that the same tradition simultaneously constructed and transmitted as divine command. One genuine reform against a brutal pre-Islamic baseline does not constitute a pro-women tradition.
The Muslim response
Muslim scholars accept and celebrate the infanticide prohibition as a genuine moral advance while arguing that the broader legal framework must be understood in its 7th-century context, not judged by 21st-century standards. Apologists in the tradition of Jamal Badawi argue that what Islam established for women — inheritance rights, marriage contract rights, prohibition on female infanticide, limits on polygyny — was dramatically progressive compared to what preceded it. The comparison class is not modern liberal democracy but 7th-century Arabia, and by that comparison class the Islamic legal framework was an improvement across multiple dimensions. Some modernist scholars, like Amina Wadud, argue further that the Islamic principle is justice, and that contemporary applications of Islamic law must recover the reform trajectory, not freeze the 7th-century applications.
Why it fails
The contextual defense is valid as a historical description — Islam was better than the specific pre-Islamic baseline its own sources describe — but apologetics regularly use it to draw a much larger conclusion: that Islam is pro-women in some absolute or ongoing sense. Ex-Muslim critic Ibn Warraq and Ali both press the same logical point: crediting Islam's pro-women status requires more than one genuine reform in the 7th century. The same tradition that banned infanticide also established structural legal disadvantages for women across inheritance, testimony, marriage, and ritual purity that have persisted and been defended as divine command for fourteen centuries. The reform trajectory some apologists invoke is an aspiration read into the tradition, not a description of what it actually did. A tradition that establishes its pro-women character on abolishing one pre-Islamic brutality while simultaneously constructing and transmitting comprehensive legal subordination across multiple domains is not pro-women. It is less hostile than the worst of what preceded it — and that is a much weaker claim.