When Draco tricks Ron and Harry, who are accompanied by Neville and Hermione Granger, into a midnight excursion, they accidentally enter a forbidden corridor and find a huge three-headed dog. The group hastily retreats, and Hermione notices that the dog is standing over a trap-door. Harry concludes that the monster is guarding the package Hagrid retrieved from Gringotts..