Abbas - Tanwîr al-Miqbâs min Tafsîr Ibn ‘Abbâs
(O Mary! Be obedient to thy Lord) as a token of gratitude to Him; it is also said this means: prolong your prayer as a token of gratitude to your Lord, (prostrate thyself and bow) meaning: and do also prostrate and bow (with those who bow (in worship)) with the people of worship.
O Mary: be obedient to your Lord by [the fulfilment of] the duties of acts of obedience and worship, and prostrate, at the station of brokenness, humility, poverty, incapacity and pardon-seeking, and bow, at the station of submissiveness and heartfelt humility with those who submit.
Allah states that the angels spoke to Maryam by His command and told her that He chose her because of her service to Him, because of her modesty, honor, innocence, and conviction. Allah also chose her because of her virtue over the women of the world. At-Tirmidhi recorded that `Ali bin Abi Talib said, "I heard the Messenger of Allah say,
(Many men reached the level of perfection, but no woman reached such a level except Asiah, the wife of Fir`awn, and Maryam, the daughter of `Imran. The superiority of `A'ishah (his wife) to other women, is like the superiority of Tharid (meat and bread dish) to other meals.)
We mentioned the various chains of narration and wordings for this Hadith in the story of `Isa, son of Maryam, in our book, Al-Bidayah wan-Nihayah, all the thanks are due to Allah.
Allah states that the angels commanded Maryam to increase acts of worship, humbleness, submission, prostration, bowing, and so forth, so that she would acquire what Allah had decreed for her, as a test for her. Yet, this test also earned her a higher grade in this life and the Hereafter, for Allah demonstrated His might by creating a son inside her without male intervention. Allah said,
(You were not with them, when they cast lots with their pens as to which of them should be charged with the care of Maryam; nor were you with them when they disputed.) meaning, "You were not present, O Muhammad, when this occurred, so you cannot narrate what happened to the people as an eye witness. Rather, Allah disclosed these facts to you as if you were a witness, when they conducted a lottery to choose the custodian of Maryam, seeking the reward of this good deed.''
Ibn Jarir recorded that `Ikrimah said, "Maryam's mother left with Maryam, carrying her in her infant cloth, and took her to the rabbis from the offspring of Aaron, the brother of Musa. They were responsible for taking care of Bayt Al-Maqdis (the Masjid) at that time, just as there were those who took care of the Ka`bah. Maryam's mother said to them, `Take this child whom I vowed to serve the Masjid, I have set her free, since she is my daughter, for no menstruating woman should enter the Masjid, and I shall not take her back home.' They said, `She is the daughter of our Imam,' as `Imran used to lead them in prayer, `who took care of our sacrificial rituals.' Zakariyya said, `Give her to me, for her maternal aunt is my wife.' They said, `Our hearts cannot bear that you take her, for she is the daughter of our Imam.' So they conducted a lottery with the pens with which they wrote the Tawrah, and Zakariyya won the lottery and took Maryam into his care.'''. `Ikrimah, As-Suddi, Qatadah, Ar-Rabi` bin Anas, and several others said that the rabbis went into the Jordan river and conducted a lottery there, deciding to throw their pens into the river. The pen that remained afloat and idle would indicate that its owner would take care of Maryam. When they threw their pens into the river, the water took all the pens under, except Zakariyya's pen, which remained afloat in its place. Zakariyya was also their master, chief, scholar, Imam and Prophet, may Allah's peace and blessings be on him and the rest of the Prophets.
“O Mary be obedient to your Lord prostrating and bowing with those who bow.” “Persevere on the carpet of worship and practice obedience continually. Do not fall short from continuous service khidma. The Real has singled you out by your station so be without equal in your time in your worship of Him.”