Not really comparable, but it reminded me of the scene in Schindler’s List where the kids hide in the latrine.
I was thinking Slumdog Millionaire.