Hazrat Yazid bin Asam says that in prayer, tie your lower garment properly, even if you have to use a rope.