The horse ate the oats in the bag. this is because every time there is a “branch” with a word (such as the or in) that word will go in front of the word behind that. hope this helped!
This quote can be found only in the movie. It can be heard in the third movie, and is told by the headmaster. I just checked the book, and it doesn't appear there.