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.
The scholars of Fiqh stated that this dirt caused by the accumulation of sweat is not an obstacle that prevents water from reaching the skin.
Al-Isnawi said, "It is conceivable that ablution and Ghusl are valid while a person has something attached to his body that prevents water from reaching it which he can remove, and he is not obliged to repeat the prayer. This is in regard to the dirt that originated from one’s body, which is the sweat that accumulates on it; it does not harm, contrary to the dirt that is due to dust, as mentioned by Al-Baghawi in his Fataawa, and it is a considerable view."
Allah knows best.