Hazrat Mahdi (as) will be unaffected by certain people’s negative comments and will make no concessions regarding behaving in accordance with the Qur’an
Hazrat Ali (ra) says this about what the appearance of Hazrat Mahdi (as) will bring: HE WILL NOT HEED PEOPLE’S INDIVIDUAL OPINIONS AND JUDGMENTS; HE WILL BEGIN ACTING BY THE PROVISIONS OF THE QURAN.
Mikyalu’l Makarim Vol. 1, p. 81
Hazrat Ali (ra) says of the events that will take place with the coming of Hazrat Mahdi (as): “Hazrat Mahdi (as) will take no notice of people’s individual opinions and comments, and will be unaffected by them. Hazrat Mahdi (as) will be unaffected by the hostile words and accounts of some people who speak against him. His sole criterion will be the provisions of the Qur’an and the Sunna of our Prophet (saas), and will begin to apply these pronouncements.