Police say they have arrested the baby's grandfather, 52-year-old Abdul Rahman, after he confessed to trying to kill the newborn by burying her alive.
"I am yet to marry off four daughters and cannot take responsibility for a fifth one, even when she is only a granddaughter," Mr Rahman was quoted as telling police.
The practice of female foeticide and female infanticide does occur in some rural areas.
A girl child is often viewed as inferior to a boy and a bride's dowry can also cripple a family financially.
I thought female infanticide was prevalent only among the Hindus. I stand corrected.