The ruling on sports competitions
“Taking money in sports competitions is not permissible, because the Prophet ﷺ said: Competition for a prize is only in horses, camels and archery.”
This is because, in contrast to sports competitions, competition in these three things is training for jihad, which is not the case in those, so taking a prize for (holding) them is not permissible. The three things mentioned in the hadith refer to the horse, the camel and weapons.
Reference: Al-Lajnah al-Da’imah: 16342