The commandments in Leviticus 25 are stated as being given to Moses on Mount Sinai, seemingly earlier in time than the ritual commandments of Leviticus chapters 1-24. Ibn Ezra explains that Leviticus 25 was indeed given before the ritual commandments, but was recorded later due to its thematic connection to the passages around it (Leviticus 18 and 26). In contrast, Nachmanides asserts that the passage is in chronological order, as only at this point did Moses relay to the people the commands he had previously been given on Mount Sinai.