All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
It is prohibited for a Muslim to look at the thigh of a mature man, whether alive or dead. It is also forbidden to look at the thigh of an immature boy if looking at it arouses desire. This is based on the Hadeeth narrated by Ahmad and Abu Daawood that the Prophet said: “What is between the navel and the knee is an ‘Awrah.”
In another Hadeeth, the Prophet said: “Do not expose your thigh nor look at the thigh of anyone else, being alive or dead.”
Therefore, it is forbidden to look at those who play wearing short trousers that show their thighs.
Allah knows best.