IMAM JA'FAR AS-SADIQ (AS) himself had been subjected to harassment...
IMAM JA'FAR AS-SADIQ (AS) himself had been subjected to harassment, tyranny and intrigues, the last of which was poison which ended his life. In these circumstance, IMAM JA'FAR AS-SADIQ (AS) on his death-bed foresaw that the life of his successor, too, would be ended in the same way. In order to divert this danger, he nominated, in his will, five trustees to look after his family. AL-MANSUR the ABBASIDE ruler was one of them.
The other four were MUHAMMAD IBN SULAYMAN, the then governor of Medina, his own son ABDALLAH AL-AFTAH MUSA AL-KAZIM (AS), and their respected mother HAMIDA KHATUN. IMAM JA'FAR'S prediction was correct. When the news of his death reached AL-MANSUR, the latter made a show of grief by thrice repeating these words: "INNA LILLAHI WA INNA ILAIHI RAJI'UN", (that is, "We are God's and unto Him is our return").
He also said: "Who can be JA'FAR'S equal now…?" But secretly he wrote to the governor of Medina saying: "If JA'FAR, by way of a will, appointed any trustee, put him to death immediately". The governor replied: "He had appointed five trustees, the first of whom is your majesty". Having read this reply, AL-MANSUR remained silent, since the sanctity of a will cannot be violated. Then, pondering over the situation, he said: "In this case, these persons cannot be slain".
According, for the next ten years, AL-MASUR did not try to harass MUSA AL-KAZIM (AS) who carried out the duties of Imamate peacefully. AL-MANSUR was, moreover, preoccupied with building the new capital of Baghdad which he completed just one year before his death. He had, therefore, little time to think of harassing IMAM MUSA AL-KAZIM (AS). PERSECUTION AL-MANSUR AL-DAWANIQI died in 158 A.H.(775 A.D.) and was succeeded by his son AL-MAHDI.
In the beginning, AL-MAHDI did nothing to humiliate or dishonor IMAM MUSA AL-KAZIM (AS), but later he fostered the old enmity against Imam Ali's descendants. In 164 A.H. (781 A.D), when he performed the HAJJ, he took the Imam with him from Mecca to Baghdad where he imprisoned him. For one year the Imam suffered the hardship of imprisonment. Then the ruler realized that he was mistreating a descendant of the Prophet (p), and he released the pious soul.
In 169 A.H., AL-MAHDI died and was succeeded by his brother AL-HADI who ruled for only 13 months. On his death, HARUN AL-RASHID came to the throne. The latter's attitude towards IMAM MUSA AL-KAZIM (AS) was very antagonistic and it caused AL-KAZIM (AS) to die in imprisonment.