
Both names mentioned in the question, Muhammad Ahmad (محمد احمد) and Ahmad Abdullah (احمد عبد اللہ), are valid names to give.
Allah the Almighty knows best.
Darul Ifta Al-Ikhlas, Karachi.
سنن أبی داؤد: (رقم الحدیث: 4948، ط: دار الرسالة العالمیة)
عن أبي الدرداء قال: قال رسول الله صلی الله علیه وسلم تُدعون یوم القیامة بأسمائکم وأسماء آبائکم فأحسنوا أسمائکم․