 When Harry, Hermione and Ron are returning to the school from  Hagrids hut after witnessing Buckbeaks execution, Hermione hugs  Ron and Harry hugs Hermione, a reference to Alfonso Cuarón (qv)s  movie _Y tu mamá también (2001)_ (qv).