
Mahad (مَہَدْ, with a fatha on م), meaning "cradle," is not among the names of the Prophet ﷺ. Muhd (مُھْد, with a damma on م), meaning "one who gives guidance," is among his names ﷺ. As for Mahdi (مہدی), Allama Suyuti (rahimahullah) counted it among the names of the Prophet ﷺ in his work Al-Riyadh Al-Aniqah. Therefore, this name may be used.
Allah the Almighty knows best.
Darul ifta Al-Ikhlas, Karachi.