Jong Ajax
El Hasnaoui signed his first professional contract on 31 May 2012, in a two-year deal binding him to the club until 30 June 2014. He played for Jong Ajax in the 2012–13 Beloften Eredivisie season. Jong Ajax were promoted to the Eerste Divisie for the 2013–14 season and El Hasnaoui made his professional debut in a 2–1 league win over Jong Twente on 30 August 2013.