Born in London to an Irish mother and Tunisian father, Ben Mohamed and his family moved to Dublin at the age of two.[3] In 2012, he signed for UCD while also studying business, staying with the Students for three seasons before moving onto Longford Town. In November 2015, it was announced Ben Mohamed would join Bohemians for the 2016 season.[4]
After a string of impressive performances for The Gypsies, he attracted international attention, eventually signing for Tunisian side Espérance de Tunis for an undisclosed sum.[5]
A free agent after his Espérance de Tunis contract expired in summer 2019, Ben Mohamed joined Ligue 2 club Le Havre AC in August 2019, agreeing a contract until 2022.[8][9] He made his Ligue 2 debut for the club vs Grenoble on 23 August 2019, coming on in the 82nd minute and scoring the third goal in a 3–1 win.[10]
On 29 January 2021, Ben Mohamed moved to Turkish club Denizlispor, on a loan deal until the end of the season.[11]
In May 2016, whilst at Bohemians Ben Mohamed earned a surprise call-up to the Tunisia squad for the African Cup of Nations qualifier against Djibouti despite never having previously declared for The Eagles of Carthage.[13]
On 2 October 2018, he was called up again and earned his first cap in a 2–1 victory over Niger.[14]
^"Ayman Ben Mohamed resmen Denizlispor" [Ayman Ben Mohamed officially Denizlispor]. Milliyet (in Turkish). 29 January 2021. Archived from the original on 8 February 2021. Retrieved 29 January 2021.