Etiquette before sleep is something that was recommended by the Prophet Muhammad to follow his sunnah (ittiba). Here I only explain 7 etiquette before sleeping. First perform ablution, read the tri qul (An Nash, Al Falaq, Al Ikhlas), clean the bed, sleep facing the right, do dhikr before going to bed, and intend to pray at night. I hope it can be an example