Imama Sajjad for him Al-Sahifa al-Sajjadiyya and it is a compilation of his supplications which reflect the picture of the society that day and the true path of life through the education of the religion and the Qur'an and purification of souls and connecting souls to God. Risalat al-huquq (Treatise on Rights) is his another work which is a short treatise containing duties a human being have.
He was poisoned and martyred by the order of Walid ben abd al-Malik. He was buried in al-Baqi cemetery beside his uncle Imam al-Hasan al-Mujtaba (a) in al madina in al baqi.