Ahmed (أحمد) Ayoub (أيوب) Hafnaoui (حفناوي), born in 2002, is a Tunisian swimmer. He is the African record holder in the long course 400-metre and 1500-metre freestyle, and the short course 800-metre and 1500-metre freestyle events. He competed in the 2020 Summer Olympics, where he won a gold medal in the men's 400-metre freestyle. He ranked No. 16 in the world and was the slowest qualifier for the final race but won Olympic gold with a time of 3:43.36. Hafnaoui was the only Tunisian to win Olympic gold at Tokyo 2020.