Salah is certainly a respectable player, but I don't think Real Madrid would want to sign him. I am 100% sure that they will want to sign young players with high potential such as Osimhen, Leao and Kudus (Kudus is my favourite). Salah will most likely be transferred to one of the underdog teams after playing for Liverpool for a few more years. I don't think he needs a new challenge. He is a football player who has completed his career to a large extent.
Real Madrid have habit sign young player and not priority with old player actually Mohamed Salah, I don't sure with Real Madrid want to spent much money for fees transfer and he has most expensive salary with Liverpool. Current players position in Real Madrid actually they have completed position on left or right forward after having Vinicius Jr, Rodrygo, Falverde and Marco Asensio. Little weakness for Real Madrid in center forward because Karim Benzema not having compete back up position.
Salah has played well with Liverpool last several season and Champion League, Primer League tittle seems enough for him, not bad for trying challenge play in Saudi Pro League maybe
