A newborn baby buried alive in mud was miraculously rescued by villagers and has luckily survived.

The boy was only identified by his tiny leg poking out after people building a house nearby heard faint cries and began looking.

He was found trapped in the Sonoura village in northern India’s Uttar Pradesh on Monday, May 25.

The villagers quickly dug out the mud and carefully pulled out a newborn child from the soil, and he was rushed to hospital.

The baby was helped from the dirt (Image: Newslions / SWNS.COM)

Doctors said he swallowed mud that blocked his respiratory tract but the baby is said to now be stable.

It is not yet known why the baby was buried, and if he had been dumped and buried alive intentionally.

He is said to be stable in hospital and has been adopted by a villager (Image: Newslions / SWNS.COM)

A villager named Laxmi has stepped forward to adopt the baby who is currently under the supervision of the doctors.

A police case has been filed against an unidentified person in the district and an investigation is undergoing.