It is narrated from Habib bin Salih that when the Messenger of Allah (peace and blessings be upon him) entered the toilet, he would put on his shoes and cover his head.