It is narrated from Sayyiduna Anas (may Allah be pleased with him) that a man came to the Messenger of Allah (peace and blessings be upon him) and said: "O Messenger of Allah! I intend to travel, so give me provision for the journey (a supplication)." He (peace and blessings be upon him) said: "May Allah grant you piety (taqwa) as your provision for the journey." He said: "Add (something) more." He (peace and blessings be upon him) said: "And may He forgive you." He said again: "Add something more." He (peace and blessings be upon him) said: "And may He turn you towards good wherever you turn."
Imam al-Tirmidhi (may Allah have mercy on him) narrated it in the Book of Supplications through the chain of Abdullah bin Abi Ziyad, from Sayyar, from Ja'far, in a similar way.