Handling the ball involves a deliberate act of a player making contact
with the ball with the hand or arm.
The following must be considered: the movement of the hand towards the
ball (not the ball towards the hand) the distance between the opponent
and the ball (unexpected ball) the position of the hand does not
necessarily mean that there is an offence touching the ball with an
object held in the hand (clothing, shinguard, etc.) is an offence
hitting the ball with a thrown object (boot, shinguard, etc.) is an
offence The goalkeeper has the same restrictions on handling the ball
as any other player outside the penalty area. Inside their penalty
area, the goalkeeper cannot be guilty of a handling offence incurring
a direct free kick or any related sanction but can be guilty of
handling offences that incur an indirect free kick. Indirect free kick
An indirect free kick is awarded if a player: plays in a dangerous
manner impedes the progress of an opponent without any contact being
made is guilty of dissent, using offensive, insulting or abusive
language and/or gestures or other verbal offences prevents the
goalkeeper from releasing the ball from the hands or kicks or attempts
to kick the ball when the goalkeeper is in the process of releasing it
commits any other offence, not mentioned in the Laws, for which play
is stopped to caution or send off a player
An indirect free kick is awarded if a goalkeeper, inside their penalty
area, commits any of the following offences: controls the ball with
the hands for more than six seconds before releasing it touches the
ball with the hands after: releasing it and before it has touched
another player it has been deliberately kicked to the goalkeeper by a
team-mate receiving it directly from a throw-in taken by a team-mate A
goalkeeper is considered to be in control of the ball when:
the ball is between the hands or between the hand and any surface
(e.g. ground, own body) or by touching it with any part of the hands
or arms except if the ball rebounds accidentally from the goalkeeper
or the goalkeeper has made a save holding the ball in the outstretched
open hand bouncing it on the ground or throwing it in the air
A goalkeeper cannot be challenged by an opponent when in control of
the ball with the hands.
http://www.thefa.com/football-rules-governance/lawsandrules/laws/football-11-11/law-12---fouls-and-misconduct