As is well known, birth is a very difficult process demanding much care. Delivering a baby without the assistance of an experienced person and due medical care is difficult. However, Maryam, all alone, succeeded in delivering a baby, thanks to her loyalty to Allah and the trust she put in Him.
While feeling severe labour pains, Allah inspired her and instructed her in each step. In this way, she delivered her baby effortlessly and in the best circumstances. This was a great favour shown to Maryam:
The pains of labour drove her to the trunk of a date palm. She said, "Oh if only I had died and was something discarded and forgotten!"
A voice called out to her from under her, "Do not grieve! Your Lord has placed a small stream at your feet. Shake the trunk of the palm towards you and fresh, ripe dates will drop down onto you.
Eat and drink and delight your eyes. If you should see anyone at all, just say, ‘I have made a vow of abstinence to the All-Merciful and today I will not speak to any human being.’" (Surah Maryam: 23-26)