KNOW YOUR LAWS:
22.15 Doubt about grounding:
If there is doubt about which team first grounded the ball in the in-goal, play is re-started by a 5-metre scrum, in line with the place where the ball was grounded. The attacking team throws in the ball.
CREDIT: The Tight Five Rugby Union