Remembrance of Allah the Mighty and Sublime while on the toilet and rings in the toilet Sunan Ibn Majah 303

Arabic hadith text
حَدَّثَنَا نَصْرُ بْنُ عَلِيٍّ الْجَهْضَمِيُّ، حَدَّثَنَا أَبُو بَكْرٍ الْحَنَفِيُّ، حَدَّثَنَا هَمَّامُ بْنُ يَحْيَى، عَنِ ابْنِ جُرَيْجٍ، عَنِ الزُّهْرِيِّ، عَنْ أَنَسِ بْنِ مَالِكٍ، أَنَّ النَّبِيَّ ـ صلى الله عليه وسلمـ كَانَ إِذَا دَخَلَ الْخَلاَءَ وَضَعَ خَاتَمَهُ ‏.‏
Translation
It was narrated from Anas bin Malik that

When the Prophet entered the toilet, he would take off his ring.