The entire "Ask and you shall receive, knock and the door will open" verse personified at the end, pretty much. And I guess you could say him asking to stay in a stable, but even that request is denied. I'm impressed that Hugo didnt go off in a tangent along the lines of "even the birthplace of Christ was closed to him" at that point.
Can we take a moment to appreciate the one part that 1998 got almost absolutely right? In a really condensed form, of course, but really the only way it could be much better would be if he had a shaved head, and I'm not sure if he didnt.(Actually, two parts 1998 got right: the Prologue, if you will, and the moments alone with Javert before Valjean returns to be arrested. That one's not entirely accurate, but he is writing a note that I like to think is his letter to the police.)
And a moment of appreciation for the 2012 film: I'd forgotten about this part, so I thought the clip of the kids hitting him with stones was some make-up for the lack of Petit Gervais, but it's not:
As he went out, some children who had followed him from the Cross of Colbas, and who seemed to be lying in wait for him, threw stones at him. He retraced his steps in anger, and threatened them with his stick: the children dispersed like a flock of birds.
Even the children are treating him like some mean dog, which makes his staying in a kennel even worse, and then even the dog doesn't want him. So the line "Became a thief in the night, a dog on the run" isn't just some generic phrase, and I think it's kind of interesting, too, because Javert is described like a dog or wolf (ach, can't remember) later on, too, and Éponine says she's the daughter of a wolf during the robbery.