Salah had helped Egypt to a 2-0 win over Sierra Leone, grabbing an assist as ex-Aston Villa star Trezeguet grabbed a double.
But in the closing moments of the match at the Samuel Kanyon Doe Sports Complex, a handful of fans broke onto the pitch and charged toward the Liverpool star.
Security reacted quickly by putting the offenders down on the ground before several military officers escorted Salah off the pitch.
It meant that the fans who had already evaded security did not get close to the 31-year-old as he made his way out of harm's way.
Military officers had already taken Salah down the tunnel.
READ MORE ON LIVERPOOL
Dominik Szoboszlai downs shot after his dazzling display sends Hungary to Euro 2024
Liverpool and Arsenal will be worried about January window and could lose star men
Punches were thrown by members of the security team at one pitch invader as the contest threatened to descend into chaos.
While it remains to be seen what the intentions of the pitch invaders were, security took no risks by acting forcefully.
Egypt were already 2-0 up by the time of the incident while Tyrese Fornah had been sent off earlier in the match.
Salah was uncharacteristically not among the goals for the Pharaohs but still proved a handful.
Most read in Football
Roberto Firmino's father passes away aged 62 after suffering heart attack on family trip
Harvey Elliott mocks 6ft 4in rival after squaring up to him and exacts perfect revenge
Jarrod Bowen becomes latest England star to pull out of squad ahead of final qualifier
Man City Women run riot against rivals United in record-breaking derby at Old Trafford
Trezeguet opened the scoring in the 18th minute before Salah teed up his international teammate after an hour.
Sierra Leone had another player sent off in the 99th minute to end the match with nine players.
And it sees Egypt go top of their World Cup qualifier group with two wins out of two.
They had got their qualifying campaign off to a flyer with a 6-0 win over Djibouti on Thursday.
Darren Bent & Andy Goldstein debate if Liverpool's Mo Salah is the best player in the Premier League
Salah scored four goals on that encounter, taking his total tally for his country to 55 goals.
Jurgen Klopp will be hoping that the forward maintains his fitness ahead of the weekend when Liverpool face Manchester City.
The two Premier League titans go head-to-head in the early kick-off on Saturday.