The 24-year-old, who was Zamalek's top scorer in the Egyptian league with nine goals as his side finished runners up to champions Ahli, scored on 68 minutes to end the resistance of Fayoum.
The Cairo side avoided last season's nightmare scenario when they bowed out at the first hurdle after losing 1-0 to third-tier Bani Obeid.
They are now expected to meet arch-rivals Ahli, who face Nabaroh later in the day, in the Egyptian Cup round of 16 on Wednesday.
Zamalek struggled to threaten Fayoum goalkeeper in the first half, with their forwards unable to hold off challengers.
Gaafar and attacking midfielders Alaa Ali, Shikabala and Ivorian Remi Adiko could not carve out space for themselves against a resilient Fayoum side, who wasted a golden opportunity to stun the visitors.
On 30 minutes, Fayoum's Farag Abdul-Mohsen rose unmarked to head a corner goalwards but Zamalek keeper Abdul-Wahed Al-Sayed superbly tipped the ball onto the bar.
Bizarre Incident
Zamalek continued to pass the ball aimlessly in the early minutes of the second half before coach Hossam Hassan made the difference after introducing winger Hussein Yasser.
Yasser replaced the ineffective Adiko, who recently expressed his delight at returning to Zamalek's fold after a long absence but hardly repaid Hassan's faith.
It was a neat move from Yasser which helped Gaafar break the deadlock eight minutes past the hour mark.
He evaded a defender on the right and whipped in a pinpoint cross for the towering Gaafar to head home.
The match was halted for several minutes shortly after following a bizarre incident in the stands.
TV cameras caught Zamalek fans hurling stones at people standing in the balconies of nearby buildings. Security forces eventually intervened to end the matter.
Fayoum could have scored a shocking equalizer deep in stoppage time but once again Al-Sayed, one of Zamalek's most consistent performers this season, came to their rescue.
He dived full stretch to block Mohamed Hassan's low shot from the edge of the area.
نرشح لكم
جاب الله يكشف سبب غياب عمرو الجزار عن لقاء الجونة
مران الأهلي - أفشة يتواجد في تدريبات الفريق
قائمة الأهلي - هادي رياض يتواجد لأول مرة أمام الجونة.. وثلاثي هجومي
طريق الأهلي - صنداونز يهزم أورلاندو ويقترب من صدارة الدوري الجنوب إفريقي
25 مليار جنيه.. وزارة الرياضة تعلن عن أضخم طرح استثماري في استاد القاهرة
محافظ بورسعيد يعلن صرف 50 مليون جنيها لتسريع وتيرة العمل في إنشاء استاد المصري
"الوزارة تعمل على خروج النادي من أزمته".. جوهر نبيل يستقبل لجنة إدارة الإسماعيلي
أمين عمر حكما لمباراة الأهلي والجونة في الدوري












أبطال أوروبا - مفاجآت بودوجليمت مستمرة بفوز على إنتر بثلاثية