Imam Ali al-Hadi (also known as Ali al-Naqi) was the tenth of the Twelve Imams in Shia Islam, and the son of the ninth Imam, Muhammad al-Taqi. He was born in 828 AD and lived during the 9th century. He was known for his knowledge and piety, and was respected by both Shias and Sunnis of his time.
He was a prominent theologian and jurist, and many of his sermons, letters and sayings have been recorded and passed down through the generations. Some of his works, such as “Kitab al-Sahifa” (The Book of the Scroll), which is a collection of his sermons, have become important texts in Shia theology.
He was also known for his strong opposition to the rule of the Abbasid Caliphate, which controlled much of the Muslim world at the time. He refused to pledge allegiance to the Caliph and was imprisoned several times as a result. He died in 868 AD while in prison in Baghdad.
He was succeeded by his son, Imam Hasan al-Askari, as the eleventh Imam of the Shia Muslims.