All prophets made a covenant with God in the spiritual realm before time and space were created that they would help Mahdi. The help of the Prophet (saas) to Mahdi has been through his hadiths that give an explanation of him to people. - Harun Yahya