The player has hit their ball, which has then been deflected back into their person, what is the ruling?

Comment the answer below.