Assalamualaikum Ustadh, can we pray wearing and also generally loose trousers or pants without any underwear that may only show the shape of awrah when we prostrate or sit down?

Ustadh AbdulAziz al-Haqqan
Underwear protects from if something is revealed in sujood that the skin doesn't show.