This is a Jewish prayer that is said when you go on a journey. The Hebrew name for it is Tefilas Haderech. This is a slightly modernized version with I believe better wording. You can look up about this prayer online for instructions on when exactly to say this or simply say it just as you are about to depart on your journey.
“May it be Your will, our God and God of our ancestors, that You lead us away in peace, guiding and directing our journey in peace. Bring us to our desired destination in health, joy, and peace.
Keep us from all the harm and misfortunes that roam this world. Bless our work. Let us find kindness and openness in those we encounter wherever we go, and before You as well.
Hear our prayer, God, for You are the One who listens to prayers. Praised are You, the One who hears prayers.”
When you return, the prayer of thanks for a safe journey is the Birkat Hagomel prayer – which is also said having narrowly escaped danger or having recovered from a serious illness.
That prayer is this :
“Blessed are You, Lord our God, King of the Universe, Who grants favors to the undeserving, Who has granted me all kindness.”