Praying With Hair Tied
These are not words ascribed to Prophet Muhammad (Sws), instead these are comments of Ibn-e-Abbas (rta) and are simple etiquettes ‘ adaab ‘ of Salah that every person should prostrate before God in the most decent clothes and in the most decent of the manners. What He (ibn-e-Abbas) thought was decent and appropriate, he recommended the same to the other person. Usually men do not have braids but women do have them, so ibn-e-Abbas (rta) made his suggestion. https://sunnah.com/muslim:492