Mahdi is highly submissive to Allah. He resembles the Prophet in terms of manners.
Signs of the Judgment Day, p. 163
In the narration of Ibn Masud (ra), the Messenger of Allah (may Allah bless him and grant him peace) said, "A son of mine will appear whose manners will be just as mine."
Al-Burhan fi Alamat al-Mahdi Akhir al-Zaman, 21