Question: What is the ruling on praying while wearing gloves?
Answer: It is permissible for a woman to pray while wearing gloves. During the prayer, when no unrelated man is near her, a woman is required to cover her whole body except the face, and gloves cover the hands. If she covers her hands with a head covering or the like instead of gloves, that is also permissible. If an unrelated man is present near the woman, then it is necessary to cover the face as well, just like the body.
As for a man, it is not prescribed for him to cover his palms with gloves or anything else during the prayer. Rather, it is prescribed for a man, in following the Sunnah of the Messenger of Allah ﷺ and the Companions (may Allah be pleased with them), to place his hands and face directly on the prayer place without any barrier.