I read somewhere that during the Ram-Ravana duel, when Lord Ram couldn't defeat him, Hanuman entered into Ravana's palace and stole three arrows which were meant to kill Ravana and then offered it to Rama
Is the above assertion true and if yes, then what is the story of three arrows.