The Salat was made compulsory on all the holy messengers of Allah right from the Holy Prophet Hadrath Adam (A.) to till date. However the number & mode was different. & now in Islamic shariat the procedure prescribed is most perfect.
Dua of Aasiya, wife of pharaoh my Lord, build for me a house near you in paradise./ This so reminds me of Jesus' words in John 2 In my Father's house there are many mansions. If not, I would have told you: because I go to prepare a place for you.