Al-Masry has entered his fourth year as the Reds star, after moving from Rome in 2017.
In that time, he made himself a champion on Merseyside by scoring more than 100 goals en route to success in the English Premier League and Champions League.
But his exploits at Anfield caught the attention of European giants.
Madrid and Barcelona have long been seen as the pinnacle of club football, even if the couple are currently struggling.
Salah has been linked to a Spanish change, a possibility he will not reject.
Tell Such as I think Madrid and Barcelona are great teams. Who knows what will happen in the future.
“But at the moment my focus is on winning the English Premier League and the Champions League Liverpool one more time.”
Al-Masry’s current deal with the England champion lasts until 2023.
He has ambitions he wants to realize at Merseyside, but he admits his future will dictate Liverpool.
“This is a difficult question,” he said when asked how long he could stay in the red team.
“But at the moment I can say everything is in the hands of the club. Of course I want to break records here and repeat, all club records, but everything is in the hands of the club.”
Salah formed a third of the Triple Electric Front under Juergen Klopp.
But the 28-year-old has been criticized for his greedy style, and former Liverpool star Jimmy Carragher indicated earlier this year that Salah was underestimated.
He said on Sky Sports: “It is now actually undervalued and underappreciated, even by Liverpool supporters.”
“The reason is that he started scoring 47 goals in one season. That was strange, it was like the best season of his life.
“Whatever he does after that feels like stepping back. In real terms, it’s not.”