Ferhaoui is a youth product of the academies of Montpellier, Lattes, and Ajaccio. He began his senior career with Sète, and transferred to Laval on 18 June 2021. He helped Laval win the 2021–22 Championnat National and achieved promotion into the Ligue 2 for the 2022-23 season. He made his professional debut with Laval in a 2–1 Ligue 2 loss to EA Guingamp on 6 August 2022.
