What is a good Hebrew prayer for a former teacher of mine that recently passed away?

A former Hebrew high school instructor of mine recently passed away. He was an important figure in my life and a good friend of my family. He was kind of like a father to me and encouraged me to apply to great schools that i likely got into due to his recommendations. Any thoughts of a prayer i can say in silent or at his grave when i go to visit it in a few weeks?

Please only post serious answers and do not be disrespectful.

Praying for the dead is a false teaching, you need to pray to God.