Hamdy is a product of the
Al Ahly youth system. On 18 December 2015, he made his debut with Al-Ahly in a
2015–16 Egyptian Premier League match against
Smouha SC under
José Peseiro. He started the match before being substituted in the second half. On 4 February 2021, Hamdy joined Canadian
Major League Soccer club
CF Montréal on loan for the
2021 season. On 19 October 2021, Montréal announced they had exercised their purchase option on Hamdy. Upon completion of the 2023 Season, CF Montréal would announce that they would not pick up Hamdi's contract for 2024, ending his time with the club. In January 2024, Hamdy joined
Zamalek. Later that year, on 19 May, he scored the only goal in a 1–0 victory over
RS Berkane in the
CAF Confederation Cup final second leg, which granted his club their second title in the competition by winning on away goals rule following a 2–2 draw on aggregate. ==Honours==