A five-year-old girl is in stable condition after days buried beneath rubble.