Regarded as one of the brightest prospects in Egyptian football,[2] he attracted attention from several clubs before joining Portuguese side Sporting CP in 2014 for a fee of €750,000.
[4] Rabia began his career with Al Ahly, making his debut against Haras El Hodoud under coach Abdul-Aziz Abdul-Shafi at the age of seventeen due to injuries to several first team players.
He was offered a trial with French side Lille but was forced to cancel after undergoing surgery for a knee injury suffered during a league match against Smouha.
[12] In May 2014, Portuguese side Sporting CP submitted several offers for Rabia, starting at €250,000 and rising to €550,000, which were both rejected by Al Ahly who valued the player at €1.5 million.
[13][14] Al Ahly director Wael Gomaa urged Rabia to focus on his commitments to the club and ignore any transfer approaches.
"[20] After missing five weeks due to the surgery, Rabia returned to the club's reserve side but received criticism from Sporting manager Marco Silva after being deemed at fault for two goals during a 5–0 defeat against Atlético CP.
"[21] In January 2015, Rabia made his debut for Sporting's first team in a 1–0 victory over Boavista in the Taça de Portugal, a knockout cup competition, as a late substitute in place of Ryan Gauld.
[25] Al Ahly paid €750,000 to resign Rabia, the same amount he was sold for the previous season, with Sporting also set to receive 15% of any future transfer fee.
[28] After recovering from surgery, Rabia made two appearances for Al Ahly before experiencing a further setback after colliding with goalkeeper Ahmed Adel Abdel Moneam in training and suffering ankle ligament damage.
[35] Despite still being in recovery after undergoing knee surgery,[36] Rabia was named in manager Rabie Yassin's preliminary squad for the Under-20 World Cup.
[40] In October 2017, Rabia was part of the Egyptian side that qualified for the 2018 FIFA World Cup, the first time the nation had reached a tournament since 1990, after defeating Congo 2–1.