Hasan ibn Ali ibn Muhammad was the 11th Imam of Twelver Shia Islam, after his father Ali alHadi. He was also called Abu Muhammad and Ibn alRidha. Because Samarra, the city where he lived, was a garrison town, he is generally known as alAskari . AlAskari married Narjis Khatun and was kept in house arrest or prison for most of his life until, according to some Shia sources, he was poisoned at the age ofon the orders of the Abbasid caliph AlMutamid and was buried in Samarra. It was known that many Shia were looking forward the succession of his son, Muhammad alMahdi, as they believed him to be the twelfth Imam, who was destined to remove injustice from the world.
Hasan alAskari was born during a period when his father Ali alHadi, the tenth Imam, was suspected of being involved in a conspiracy against the Caliph AlMutawakkil. There is doubt as to whether alAskari was born in Medina or Samarra. He was taken along with his family to Samarra in the year 230, 231 or 232 A.H., and was kept there under house arrest. In Samarra, alAskari spent most of his time perusing the Quran and the Sharia. According to Donaldson, alAskari must also have studied languages, for in later years it was known that he could speak Hindi with the pilgrims from India, Turkish with the Turks, and Persian with the Persians. According to Shia accounts, however, it is part of the divine knowledge given to all Imams to be able to speak all human languages.
Source: Wikipedia