There is undeniable evidence that he compiled a legal code ("Sefer ha-Mitzvot" or "Book of Commandments"), and a work on the rights of inheritance. The latter, against which Saadia directed his polemics, was perhaps merely a part of the code just mentioned. He also wrote commentaries to the Pentateuch, to Joshua, and to Judges, and probably to other Biblical books. They were not running commentaries, but explanations to certain passages, and contained also digressions. Words were often explained in Arabic. These commentaries, especially that to the Pentateuch, probably contained many of the decisions enumerated above.