We ought to understand the implication of words we say.
For example "RIP" implies that the person is going to sleep/rest in their graves until the day of second coming of Jesus/ Al-Mahadi comes back and resurrects their body.
The Last Judgment, Final Judgment, Day of Judgment, Judgment Day, or The Day of the Lord or in Islam Yawm al-Qiyamah or Yawm ad-Din is part of the eschatological world view of the Abrahamic religions.
Everyone who has ever lived will be brought back to life in some form to face the final judgement along with those still living.
The phrase “rest in peace,” often abbreviated “R.I.P.,” comes from the Latin blessing requiescat in pace (literally, “may he begin to rest in peace”). It is usually biblical thing to say.
To say someone who has died is going to “Rest in Peace” fits much better with the biblical saying that “the dead know nothing” (Ecc 9:5) and that they “sleep in the dust of the earth” (Dan 12:2) and that it is Jesus the Christ who at his return (1 Cor. 15:23) will call the dead out of the sleep of non-existence and back to life – “Do not marvel at this; for an hour is coming, in which all who are in the tombs will hear His voice, and will come forth; those who did the good deeds to a resurrection of life, those who committed the evil deeds to a resurrection of judgment.” (John 5:28-29).
In summary, according to the Christian view, a dead person's body awaits resurrection while their soul enters heaven or hell and stays there forever. Resurrected beings (bodies once again with their souls) face the final judgement and then enter heaven or hell as whole; but that shall not happen until the end of the world - the Judgement day, the Rapture.
The coming of Imam Mahdi is one of the signs of Qiyamah as is the belief of the Ahlus-Sunnah and he has yet to appear. Abdullah ibn Masu`d has reported that the Prophet has said:
"The world will not pass away before the Arabs are ruled by a man (referring to Mahdi) of my family whose name will be the same as mine"
Muslims also believe that the coming of the Day of Reckoning is a certainty, as Allah has said in the Qur'an:-
“This is because verily Allah, He is the reality, and because He gives life unto the dead, and because verily He has power over all things. And that the Hour (of resurrection) is to come, there is no doubt therein, and that Allah will raise up those in the grave” (Qur’an, 22:6-7)
That will be the day of Qiyamat and the faithful people will be resurrected by the command of Allah.
“Said he: “This is a mercy from my Lord. But when the promise of my Lord (i.e., Resurrection) comes to pass, He will level it with the ground; and the promise of my Lord is true.” And We will let them that day to dash into one another. And the trumpet will be blown; then We will gather them all together.” (Qu’ran, 18:92-99)
In summary, Islamic views about resurrection are more or less the same as Christians.
Body is central to the A-brahmic belief system, hence the burial- which is a form of preservation (of sorts) and belief that it'll be alright once again.
In Sanatan Dharma the body is just a vehicle, a temporary refuge, Aatma is indestructible. Atma basically means your eternal self, the spiritual essence of who you are. It is not the body you inhabit; nor is it not the sum total of your material possessions. It is the spiritual you. People often confuse 'Soul' - the Western Judeo-Christian concept with 'Aatma'. The former system tends to believe when a person dies their soul travels on to heaven or hell. In other words, paradise or eternal suffering are the end of the road. On the other hand the aatma carries on its journey with reincarnations, until the day its Karmic path and spiritual knowledge leads it to Moksha. An appropriate phrase, for a Hindu who has passed away, would be "may the departed aatma attain moksha" , "Om Shanti" (or something similar).
In summary, according to the Sanatan Dharmic view, a dead person's body is destroyed while their aatma (not the same as concept of soul) enters heaven or hell temporarily and then takes rebirth and this cycle continues until the aatma attains moksha (become one with Bhagwan,above and beyond the heaven or hell ).