I have noticed that a majority of men cover their heads head with a cap or something to cover the hair while offering salah. Is this mandatory? What if sometimes you don't find a cap or cloth to cover your head or if you are deliberately not covering your hair while praying? Is this considered sinful?