The Third Battle of Panipat (1761) was fought between the Maratha Empire and the Afghan invader Ahmad Shah Durrani (Abdali). Humayun fought Sher Shah Suri earlier (1540), Akbar fought Hemu at the Second Battle of Panipat (1556), making option B the correct pairing for the Third Battle.