Allah had provided the prophets and their guardians with miracles that ordinary people were unable to do in order to be as true proofs on the missions of these prophets and guardians, otherwise they would fail in achieving their missions, and none of people would believe them.
Allah had made them know what there was inside the inners of people and what events would take place. Allah had granted that to the infallible imams of the Ahlul Bayt (AS) and one of them was Imam al-Hasan al-Askari (AS).
Here we mention some narrations concerning this matter:
1. Al-Hasan an-Naseebi said, ‘It came to my mind that whether the sweat of a junub was pure or not. I went to the house of Abu Muhammad al-Hasan to ask him about that.
It was night and so I slept. At dawn, he came out and found me sleeping. He waked me and said, ‘If it is lawful, it is pure, and if it is from unlawful thing, it is not.’
2. Isma’il bin Muhammad al-Abbasi said, ‘One day, I complained to Abu Muhammad about my neediness and I swore to him that I did not have even one dirham.’ He said to me, ‘Do you swear by Allah falsely while you have buried two hundred dinars? My saying to you does not mean that I do not gift you.
O servant, give him what there is with you!’ The servant gave me one hundred dinars. Then he (the imam) said to me, ‘You make the dinars that you have buried unlawful while you are in utmost need to them.’
I searched for the money but I could not find it. I found that one of my children knew about this money, and so he stole them and ran away.’
 A ritually impure person: janaba is the major (or minor) ritual impurity caused by sexual intercourse, wet dreams…
 Mir’at az-Zaman, vol.6 p.192.
3. Muhammad bin Hujr complained to the imam at the oppression he received from Abdul Aziz and from Yazid bin Eesa.
The imam (AS) said to him, ‘As for Abdul Aziz, I have relieved you from him, but as for Yazid, you and he shall have a situation before Allah the Almighty.’
After a few days, Abdul Aziz died, but Yazid killed Muhammad bin Hujr and he shall have a situation (be punished) before Allah (on the Day of Resurrection).’
4. Abu Hashim said, ‘Once, I complained to Abu Muhammad of the distress of imprisonment and the pains of ties. He wrote to me, ‘You shall offer the Dhuhr (noon) Prayer in your house today.’ I was set free (from prison) at noon and I offered the prayer in my house as the imam had said.’
5. Abu Hashim said, ‘I was in need and I wanted to ask Imam Abu Muhammad (AS) but I felt shy to do that. When I arrived in my house, he sent one hundred dinars to me and a letter saying, ‘If you need something, do not feel shy or refrain from asking. Ask and you shall get what you like inshallah.’
6. Abu Hashim said, “I heard Abu Muhammad (AS) saying, ‘In the paradise there is a gate called al-Ma’ruf (good deed). No one will come through it except the people of good deeds.’ I thanked Allah with myself and felt delighted for I often satisfied the needs of people.
Abu Muhammad looked at me and said, ‘Yes, I knew what you were thinking of. The people of good deeds in this life will be the people of good deeds in the afterlife. May Allah make you from them, O Abu Hashim, and have mercy on you.’”
 Manaqib Aal Abi Talib, vol.4 p.433.
 A’lam al-Wara, p.372.
 Ath-Thaqib fil-Manaqib by Muhammad bin Ali al-Jirjani, p.241.
 Noor al-Absar, p.152.
7. Muhammad bin Hamza ad-Duri said, ‘I wrote to Imam Abu Muhammad (AS) asking him to pray Allah for me to make me rich after I had become poor and I feared to be exposed.
His reply came to me saying: “Be delighted! Wealth has come to you from Allah the Almighty. Your cousin Yahya bin Hamza died and left for you one hundred thousand dirhams. He had no inheritor except you.
The money shall come to you soon. Thank Allah, be economical, and beware of wasting!” The money and the news of the death of my cousin came to me a few days later. My poverty disappeared. I paid the rights of Allah, helped my brothers, and became economical after I had been wasteful.’
8. Muhammad bin al-Hasan bin Maymun said, ‘I wrote to my master al-Hasan al-Askari (AS) complaining of poverty, and then I said to myself: has Abu Abdullah (Imam as-Sadiq) (AS) not said, ‘Poverty with us (the Ahlul Bayt) is better than wealth with our enemy, and being killed with us is better than living with our enemy.’?
The reply to my letter came saying, ‘Allah the Almighty tries our followers, when their sins increase, by poverty, and He may forgive many (of sins). It is as your self said to you: poverty with us is better than wealth with our enemy.
We are a shelter for whoever resorts to us a light for whoever seeks light, and preservation for whoever turns to us. Whoever loves us will be with us in the highest position, and whoever deviates from us will be in Fire.’
9. Abu Ja’far al-Hashimi said, ‘I was with some men in prison when Abu Muhammad and his brother Ja’far were brought to prison. We hurried to him. I kissed him on the face, and seated him on a mat that was under me.
Ja’far sat near to him. The guard of the prison was Salih bin Waseef. There was a man with us in the prison claiming that he was Alawid.
 Noor al-Absar, p.152, ad-Durr an-Nadheem.
 Manaqib Aal Abi Talib, vol.4 p.435.
Abu Muhammad turned to us and said, ‘If some one, who is not from you, was not with you, I would tell you when Allah will deliver you…’ Imam Abu Muhammad (AS) beckoned to that man and said, ‘This man is not from you.
Beware of him! There is a book in his clothes in which he writes to the ruler all what you say.’ One of the prisoners searched him and found with him a book in which he accused us of great accusations and claimed that we wanted to pierce the prison and escape from it.’
10. Ahmad bin Muhammad said, “I wrote a letter to Abu Muhammad (AS) when al-Muhtadi, the Abbasid caliph, began killing the Shia and said to him, ‘O my master, praise be to Allah Who has made him (the caliph) busy away from you for I have heard that he threatened you and said: ‘by Allah, I will dispel them again.’
Abu Muhammad wrote with his handwriting: ‘This makes his life shorter. You count from this day five days and he shall be killed in the sixth day after meeting meanness and disgrace.’ And it was as the imam said.’
11. Abu Hashim narrated, ‘Once, al-Fahfaki asked Imam Abu Muhammad (AS) about the reason that makes man take two shares while woman takes one share in the inheritance. The imam (AS) answered: ‘For neither jihad, nor expenditure, nor guarding (in castles) are required from woman.’
It came to my mind that this question was the same question that ibn Abul Awja’ had asked Imam as-Sadiq (AS) and Imam as-Sadiq (AS) answered with the same answer. Imam Abu Muhammad turned towards me and said, ‘Yes, this is the question of ibn Abul Aw’aj and the answer is the same from us. If the meaning of the question is the same, the answer of the last one of us will be like the answer of the first one of us.
 Ad-Durr an-Nadheem fee Manaqib al-A’immah, 2897.
 A’lam al-Wara, p.375.
The first and the last of us are the same in knowledge and imamate, and the messenger of Allah and Ameerul Mo’mineen (the blessings of Allah be on them) have the preference to them.’
12. Abu Hashim narrated, ‘One of the Shia wrote to Abu Muhammad (AS) asking him for some supplication.
The Imam replied, ‘Pray Allah with this du’a: “O You the most Hearing of hearers, the most Perceptive of seers, the best of lookers, the promptest of accounters, the Most Merciful of the merciful, the Wisest of judges, have blessing on Muhammad and on the progeny of Muhammad, and increase my livelihood, prolong my old, favor me with Your mercy, make me from those who defend Your religion, and do not replace me by other than me…!”
I (Abu Hashim) said with myself: ‘O Allah, make me from Your party and Your group!’ Abu Muhammad turned to me and said, ‘you are in His party and in His group if you have faith in Allah and believe His messenger.’
13. Shahwayh bin Abd Rabbih said, ‘My brother Salih was in prison. I wrote to my master Abu Muhammad (AS) asking him about some things and he answered by writing to me: ‘Your brother Salih shall be set free from prison on the day when my this book shall come to you.
You wanted to ask me about him but you had forgotten.’ While I was reading his book, some one came and told me that my brother was set free. I received him and read this book to him.’
14. Abu Hashim narrated, ‘It came to my mind whether the Qur’an was created or not.
 Al-Manaqib, vol.4 p.437, A’lam al-Wara, p.374.
 A’lam al-Wara, p.374.
 Al-Manaqib, vol4 p.438.
Imam Abu Muhammad (AS) looked at me and said, ‘O Abu Hashim, Allah is the Creator of everything, and everything other than Him is created.’
15. Abu Hashim said, ‘Once, I went to Abu Muhammad (AS) and wanted to ask him for a stone that I wanted to make a ring from to bless myself with it. When I sat with him, I forgot what I had come for.
When I said farewell and wanted to leave, he gave me a ring, smiled, and said, ‘You wanted a stone and we gave you a ring, and so you won the stone.
May Allah delight you by it!’ I was astonished at that and said, ‘O my master, you are the guardian of Allah and my imam by whose favor and obedience I serve Allah.’ He said to me, ‘May Allah pardon you, Abu Hashim!’
16. Abu Hashim said, “Once, I heard Abu Muhammad saying, ‘On the Day of Resurrection, Allah will forgive with forgiveness that cannot be even imagined by people, until polytheists shall say: by Allah, we were not polytheists.’
I remembered with myself a tradition narrated to me by a man from our companions from the people of Mecca that the messenger of Allah (AS) recited: (Despair not of the Mercy of Allah, for Allah forgives all sins), and some man said, ‘even polytheists.’ I denied that and hid it into my heart.
While I was thinking of that with myself, Abu Muhammad turned to me and recited, (Surely Allah does not forgive that anything is associated with Him, and He forgives all save that to whom He pleases). How bad what that man said was and how bad what he narrated was!’
 Al-Manaqib, vol4, p.436.
 A’lam al-Wara, vol375, al-Manaqib, vol.4 p.437.
 Qur’an, 39:53.
 Qur’an, 4:116.
 Ad-Durr an-Nadheem.
Historians mentioned many examples on the imam’s knowledge of what people concealed inside themselves, and on his predicting of different events and occurrences.
All those were signs on his imamate, for other than the imams had no knowledge about that. Abu Hashim, who was one of the best, reliable scholars, and who was a close companion to Imam Abul Hasan al-Hadi (AS) and Imam Abu Muhammad al-Askari (AS), narrated most of the traditions that talked about the signs of these two imams (AS).
He said, ‘Whenever I went to Abul Hasan and Abu Muhammad (peace be upon them), I saw a proof and evidence (on their imamate).’
 A’lam al-Wara, p.375.
The following are some of the traditions that were transmitted from Imam al-Hadi (AS) concerning the appointing of his son Abu Muhammad al-Hasan as the imam after him.
1. Yahya bin Yasar al-Anbari said, ‘Abul Hasan Ali bin Muhammad (al-Hadi) entrusted his son Abu Muhammad al-Hasan with the matter (imamate) four months before his death and made me and some of his mawali (adherents) bear witness to that.’
2. Ali bin Umar an-Nawfali said, “Once, I was with Abul Hasan (al-Hadi) (AS) in the yard of his house when his son Muhammad (Abu Ja’far) passed by us. I said to him, ‘May I die for you! Is this our man (the imam) after you?’ He said to me, ‘Your man after me is al-Hasan.”
3. Shahwayh bin Abdullah al-Jallab said, “Abul Hasan wrote a letter to me saying in it: ‘You wanted to ask about the successor after Abu Ja’far and you were worried about that. Do not worry because (Allah will not mislead a people after He has guided them) Your man (the imam) after me will be my son Muhammad. He has all what you shall need.
Allah advances what He wills and delays what He wills; (Whatever verse We abrogate or cause to be forgotten, We bring one better than it or like it). I have written what has a clear proof for one of an awake mind.”
4. Dawud bin al-Qassim said, “I heard Abul Hasan (AS) saying, ‘The successor after me will be al-Hasan. How will you deal with the successor after this successor?’ I said, ‘Why? May I die for you!’ He said, ‘You shall not see him and it will be not permissible for you to mention him by his name.’ I said, ‘How shall we mention him then?’ He said, ‘You say: al-Hujjah (the authority) from the progeny of Muhammad (peace be on them).’
5. Abu Bakr al-Fahfaki said, “Abul Hasan (peace be upon him) wrote to me saying, ‘My son Abu Muhammad is the best of the progeny of Muhammad in nature and the most trustworthy in authority.
He is the eldest of my children, and he is my successor and to him imamate and our verdicts get. Whatever you asked me about, you can ask him about for he has all that which people need.’
6. As-Saqr bin Dulaf said, “I heard Ali bin Muhammad bin Ali ar-Redha (Imam al-Hadi) saying, ‘The imam after me will be al-Hasan and after al-Hasan will be his son al-Qa’im (Imam al-Mahdi) who will fill the earth with justice and fairness as it has been filled with injustice and oppression.’
7. Abdul Adheem al-Hasani narrated that Imam Ali bin Muhammad al-Hadi (AS) said, ‘The imam after me will be my son al-Hasan, but how will people deal with the successor after him?!’
8. Ali bin Mahziyar said, ‘One day, I said to Abul Hasan, ‘If something happens-God forbid!-then to whom the imamate will be?’ He said, ‘To the eldest of my sons. (He meant al-Hasan).’
9. Abdullah bin Muhammad al-Isfahani said, “Abul Hasan said, ‘Your man after me is the one who will offer the prayer on me (after death).’ We did not know Abu Muhammad before that, and when Abul Hasan (AS) died, Abu Muhammad came out and offered the prayer (of the dead) on him.’
These are some traditions narrated by reliable narrators from Imam al-Hadi (AS) about the appointing of his son Abu Muhammad al-Hasan (AS) as the next imam besides other traditions transmitted from Imam al-Jawad (AS).
As-Saqr bin Dulaf said, “I heard Abu Ja’far Muhammad bin Ali ar-Redha (Imam al-Jawad) saying, ‘The imam after me is my son Ali. His command is my command, his saying is my saying, and obedience to him is obedience to me. And the imam after him will be his son al-Hasan.’
There are other traditions that were narrated from the Prophet (AS) concerning the appointing of the guardians and caliphs after him among whom was Imam Abu Muhammad al-Askari (AS). These traditions were mentioned in the famous reference books of Hadith and history.
 Al-Fusool al-Muhimmah by ibn as-Sabbagh, p.66, Usool al-Kafi, vol.1 p.325.
 Usool al-Kafi, vol.1 p.324.
 Qur’an, 9:115.
 Qur’an, 2:106.
 Usool al-Kafi, vol.1 p.328.
 Ibid., p.327.
 Ikmal ad-Deen, vol.2 p.55.
 Ikmal ad-Deen, vol.2 p.55.
 He meant that if the imam died.
 A’lam al-Wara, p.368.
 Ikmal ad-Deen, vol.2 p.50.
Taken from : The Life Of Imam Al-Hasan Al-Askari Study And Analysis By: Baqir Shareef al-Qurashi Translation by: Abdullah al-Shahin