The invaluable collection of his edited prayers are known as...
The invaluable collection of his edited prayers are known as as-Sahifah al-Kamilah or as-Sahifah as-Sajjaddiyyah; it is known also as az-Zabur (Psalm) of Aal Muhammad. The collection is an invaluable treasury of wonderfully effective supplications to the Lord in inimitably beautiful language. Only those who have ever come across those supplications would know the excellence and the beneficial effect of these prayers.
Through these prayers the Imam gave all the necessary guidance to the faithful during his seclusion. On the 25th of Muharram 95 AH when he was in Medina, al-Walid ibn Abdil-Malik ibn Marwan, the then ruler got this Holy Imam martyred by poison. The funeral prayers for this Holy Imam were conducted by his son the Fifth Imam, Muhammad al-Baqir and his body was laid to rest in the cemetery of Jannatu '1-Bagi ' in Medina.
al-`Allamah at-Tabataba'i writes: Imam Sajjad (Ali ibn al-Husayn entitled Zaynu’l-’Abidin and Sajjad) was the son of the Third Imam and his wife, the queen among women, the daughter of Yazdegerd the King of Iran. He was the only son of Imam Husayn to survive, for his other three brothers `Ali Akbar, aged twenty-five, five-year-old Ja'far and `Ali al-Asghar (or Abdullah) who was a suckling baby were martyred during the event of Karbala'.
The Imam had also accompanied his father on the journey that terminated fatally in Karbala', but because of severe illness and the inability to carry arms or participate in fighting he was prevented from taking part in the holy war and being martyred. So he was sent with the womenfolk to Damascus. After spending a period in imprisonment he was sent with honour to Medina because Yazid wanted to conciliate public opinion.
But for a second time, by the order of the Umayyad caliph, `Abdul-Malik, he was chained and sent from Medina to Damascus and then again returned to Medina. The Fourth Imam, upon returning to Medina, retired from public life completely, closed the door of his house to strangers and spent his time in worship. He was in contact only with the elite among the Shiites such as Abu Hamzah ath-Thumali, Abu Khalid Kabuli and the like.
The elite disseminated among the Shi'ah the religious sciences they learned from the Imam. In this way Shi'ism spread considerably and showed its effects during the Imamate of the Fifth Imam. Among the works of the Fourth Imam is a book called Sahifah Sajjadiyyah.