This question already has an answer here:
In a junior football match, one of the players had picked up an unusual habit. She would make a sliding tackle but end up on the ground, with the ball between her legs. She would then keep possession, using her legs while still sitting on the floor.
It seemed unorthodox and possibly dangerous, as she was at risk of being fouled by opposition players trying to get the ball.
Rugby union has a rule whereby the ball must be released; the player that is tackled and the tackling player must immediately release the ball to allow for play to continue.
I couldn't find a similar rule in football's laws of the game. Can a player hold the ball under their body or legs in association football?
This is distinct from Walking the ball across the line for a goal, as there is no attempt to move the ball or score a goal.