The Sefer Hamitzvot of the Rambam Mitzvah 41, 42 and 43.