Who is the heir of the Prophet? They are the scholars. Because the scholars have inherited the Prophets legacy.
There are many deeds being done by humans in this world. But the first deed that will be counted by Allah on the Day of Judgment is salah (prayer). If someone’s prayer is good, then he is safe and good to go.