After the martyrdom of Imam Reza (a.
After the martyrdom of Imam Reza (a.s.), they saw to it that Imam Jawad (a.s.) also was kept away from the holy city of Madina. In this instance, the apparent excuse was to get him married to the Caliph's daughter and hence, force him to reside in Baghdad. Therefore, in the face of such trickery and machinations, a very formidable strategy was required to counter them, defeat their purpose and expose the designs of the Caliphs for the public.
Thus, despite having a beautiful and learned wife (the Caliph's daughter), Imam (a.s.) married a slave girl and fathered her child, an honour not granted to the daughter of Mamoon. Of course, this was a well-executed plan to defeat Mamoon's designs and consequently, anybody who became aware of the entire scenario, realised that Imam Jawad (a.s.) did not migrate to Baghdad because of Mamoon's daughter.
In the reign of Mutawakkil or Mo'tasim Abbasi, Imam Hadi's (a.s.) entry in Madina was prevented outright. Initially, he (a.s.) was kept in Baghdad under surveillance; but when they noticed that he was coming into contact with his Shias even in Baghdad, he was shifted to Saamarra. Here too, the strict vigil of the government could not prevent him coming into contact with his followers.
Finally, out of sheer desperation, the government shifted him to the military cantonment (which is called as Askar) where Imam Hasan al-Askari (a.s.) was born and lived, and hence got the title of "Askari". Briefly, the Caliphs with all the power at their disposal, tried their best to prove as wrong the prediction of the Prophet (s.a.w.s.) regarding the Promised One, the ninth descendant of Imam Husain (a.s.).
They planned to eliminate the progeny of the Imams (a.s.) and then announce that the eighth descendant of Imam Husain (a.s.) did not bear any offspring, thereby proving the prophecies to be false and fabricated. With this purpose in mind, they attempted to impose as many controls as possible on the house and family of Imam Hasan al-Askari (a.s.). One day, Mo'tamid, the Abbaside Caliph, said to Imam Askari (a.s.), "Dear cousin, I feel sorry for you.
Permit me to dispatch two slave girls to your house as domestic help." Imam (a.s.) retorted, "We the progeny of Muhammad (s.a.w.s.), discharge our responsibilities ourselves. And I don't have so much work that I will need your slave girls." Despite constant pressures from the Caliph, Imam Askari (a.s.) firmly turned down his offer in order to prevent spies from entering the holy household.