Soncino English Talmud
Sotah
Daf 17b
GEMARA. Raba said: A scroll for a suspected woman which one wrote at night is invalid. What is the reason? An analogy is drawn between two passages where the word 'law' occurs: here it is written: And the priest shall execute upon her all this law, and elsewhere it is written: According to the tenor of the law which they shall teach thee, and according to the judgment. As judgment [could only be delivered] in the daytime, so a scroll for a suspected woman [could only be written] in the daytime. If he wrote the text not in its proper order, it is invalid; for it is written: And he shall write these curses — just as they are written [in the Scriptural text]. If he wrote it before she took the oath upon herself, it is invalid; as it is said: He shall cause her to swear and after that, He shall write. If he wrote it in the form of a letter, it is invalid — 'in a book' said the All-merciful.