´It was narrated that Anas bin Malik said:` "Whenever the Prophet exited the toilet, he would say: 'Al-hamdu lillahilladhi adhhaba 'annial-adha wa 'afani (Praise is to Allah Who has relieved me of impurity and given me good health).'"
Hadith ReferenceSunan Ibn Majah / The Book of Purification and its Sunnah / Hadith: 301
Hadith Gradingالألبانی:ضعيف | زبیر علی زئی:ضعيف, إسناده ضعيف, إسماعيل بن مسلم المكي: ضعيف الحديث, وللحديث شاهد ضعيف عند ابن السني(22), والحديث ضعفه البوصيري, انوار الصحيفه، صفحه نمبر 387
Hadith Takhrij«تفر د بہ ابن ماجہ ، ( تحفة الأشراف : 531 ، 539 ، 1141 ، ومصباح الزجاجة : 122 ) ( ضعیف ) » ( اسماعیل بن مسلم ضعیف ہیں ، ابن السنی کے یہاں ابو ذر رضی اللہ عنہ سے یہ موقوفاً ثابت ہے ملاحظہ ہو : تحفة الأشراف وسلسلة الاحادیث الضعیفة ، للالبانی : 5658 ، والإرواء : 53 )