Mahdi (as) is a messianic figure in Islamic eschatology who is believed to appear at the end of times to rid the world of evil and injustice.
The concept of the last savior and his advent exist in many religions, although with some fundamental differences.
All Abrahamic religions believe in the return of the savior, the liberator of the human beings and redeemer, in the End-Time.