It was narrated from Ibn 'Abbas that the Prophet (ﷺ) performed Ghusl and a cloth was brought to him, but he did not touch it, and he started doing like this with the water.
This is a demonstration of his wiping off the water on his body with his hands.
Sunan an-Nasa'i Book 1, Hadith 255