Hang Nadim (Jawi: هڠ نديم) was a warrior of the Johor-Riau during the Portuguese occupation of Melaka (modern day Malacca). Nadim was appointed laksamana (admiral) of Sultan Mahmud Shah's forces that harassed the Portuguese trade colonies from 1511 to 1526. He also appears as a legendary figure in a chapter of the Sejarah Melayu (or the Malay Annals).