Mishkat al-Masabih #334
Purification
The Arabic includes the chain of narration (sanad) and the collector's commentary; the English translation shows the Prophet's words only.
وَعَنْ عَائِشَةَ قَالَتْ: كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا خَرَجَ مِنَ الْخَلَاءِ قَالَ «غفرانك» . رَوَاهُ التِّرْمِذِيّ وَابْن مَاجَه والدارمي
‘A'isha told that when the Prophet came out from the privy he said, "Grant Thy forgiveness.”
Tirmidhi, Ibn Majah and Darimi transmitted it.
Topics
About Mishkat al-Masabih
This hadith is #334 from Mishkat al-Masabih, in the Book of Purification.