"When the Messenger of Allah (ﷺ) entered the area in which he would relieve himself, he would remove the ring."

This Hadith is Hasan Sahih Gharib Hadith.
Jami` at-Tirmidhi Book 24, Hadith 27