They found it written in the law, which Yahweh had commanded through Moses, that the Israelites were to live in shelters during the festival of the seventh month,
In context
12So the whole people went off to eat and drink, to send portions and to celebrate with great joy, because they had understood the words that had been made known to them. 13On the second day the heads of families of all the people, along with the priests and the Levites, gathered around Ezra the scribe to look closely at the words of the law. 14They found it written in the law, which Yahweh had commanded through Moses, that the Israelites were to live in shelters during the festival of the seventh month, 15and that in all their towns and in Jerusalem they were to announce and proclaim: “Go out to the hills and bring back branches of olive and wild olive, of myrtle, of palm and of leafy trees, to make shelters, as it is written.” 16So the people went out and brought them back, and each of them made a shelter on his own roof, in his courtyard, in the courts of the house of God, in the square by the Water Gate and in the square by the Gate of Ephraim.