Negotiations between officials and Ultras Ahlawy members who broke into Cairo International stadium succeeded.
The fans agreed to depart the stadium and undergo search procedures before being allowed to re-enter, authorities announced.
Egyptian police said that they had discovered 10 bags containing fireworks and banners during checking the stands before allowing the fans to re-enter Cairo stadium.
Security authorities have reportedly threatened to cancel the match if the ultras members insisted on remaining on the stands.
Hundreds of Ahly hardcore fans (Ultras Ahlawy) had stormed Cairo International stadium Saturday morning, Egypt's interior ministry announced.
Ahly is set to host Ivory Coast's Sewe Sport in the second leg of the African Confederation Cup final at 16:00 GMT (18:00 Cairo local time).
Security authorities' had planned to allow 25,000 supporters to attend the game waivering a two-year old crowd ban in soccer matches.
"Around 2000 stormed Cairo stadium in the early hours of Saturday," the interior ministry said in an official statement.
The fans used a truck to break through one of stadium's gates to enter the premises, the ministry said.
"All the legal procedures are being applied to handle the situation and also to avoid the existence of provocateurs among those who stormed the stadium," the statement added.
(For more sports news and updates, follow Ahram Online Sports on Twitter at @AO_Sports and on Facebook at AhramOnlineSports.)