The claim that anyone called Ahmad or Muhammad will not enter the Hell
What is mentioned in the question, that anyone who is named Muhammad or Ahmad will not enter the Fire on the Day of Resurrection, out of honor and glorification to the Messenger (peace be upon him), is not true. The Prophet (peace be upon him) called his closest kindred to Islam; he warned them and commanded them to abide by Tawhid (belief in the Oneness of Allah), and to become believers, then he announced to them all,
“I can avail you nothing against Allah.”
Every soul will be held in pledge for its deeds: it will receive the reward for whatever good it has earned, and it will be punished for whatever evil it has earned.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.