When the Prophet (ﷺ) came out of the privy, he used to say: "Grant me Thy forgiveness."
Sunan Abi Dawud Book 1, Hadith 30