Abu Ali al-Sayqal reported: Abu Dharr, may Allah be pleased with him, when he left the washroom, he would say, “All praise is due to Allah, who has removed harm from me and granted me wellness.”
Source: Muṣannaf Ibn Abī Shaybah 10
Grade: Hasan (fair) according to Ibn Hajar
عَنْ أَبِي عَلِيٍّ الصَّيْقَلَ عَنْ أَبِي ذَرٍّ رَضِيَ اللَّهُ عَنْهُ أَنَّهُ كَانَ إِذَا خَرَجَ مِنَ الْخَلَاءِ قَالَ الْحَمْدُ لِلَّهِ الَّذِي أَذْهَبَ عَنِّي الْأَذَى وَعَافَانِ
10 مصنف ابن أبي شيبة كتاب الطهارات ما يقول إذا خرج من المخرج
1/216 المحدث ابن حجر العسقلاني خلاصة حكم المحدث حسن في نتائج الأفكار