In Harry Potter and the Chamber of Secrets, they find it in the Shrieking Shack on Hogwarts grounds.
They had crashed it into the Whomping Willow; the car ended up in the Shack via a secret passage connected to the tree.