Some irreligious persons, who envied people of noble birth, bore grudge against Imam Abul Hasan (a.s.). The virtues and high position Imam al-Hadi (a.s.) had among people displeased those persons. From the bitterest enemies of Imam al-Hadi (a.s.) was Abdullah bin Muhammad who had been appointed by al-Mutawakkil as the wali over Yathrib. This man often intended to harm and trouble Imam al-Hadi (a.s.). He informed al-Mutawakkil against the Imam.
He told the caliph that the gathering of the public around Imam al-Hadi (a.s.) caused the state dangers, and that great monies came to him from the different countries of the Islamic nation that weapons might be bought with those monies to stand against the Abbasid state, and there was a possibility of a revolt to overthrow the Abbasid government.
He asked al-Mutawakkil to arrest Imam al-Hadi (a.s.) lest he would be powerful enough that the government would not be able to resist him. Al-Mutawakkil was upset and worried and he informed his viziers of the matter.