بسم الله الرحمن الرحيم
(Fatwa: 1053/912/SN=8/1438)
Both the names are good. However, the second name i.e. Muhammad Hamdan is far better. Also Abdullah, Ubaidullah, Abdul Muqtadir, Haris, Abu Dujanah are good names. You may choose any of them.
Allah knows Best!
Darul Ifta,
Darul Uloom Deoband
