Great wisdom was needed for building the ark, which was to have space for all beings on earth, even the spirits. Only the fishes did not have to be provided for. Noah acquired the necessary wisdom from the book given to Adam by the angel Raziel, in which all celestial and all earthly knowledge is recorded.
While the first human pair were still in Paradise, it once happened that Samael, accompanied by a lad, approached Eve and requested her to keep a watchful eye upon his little son until he should return. Eve gave him the promise. When Adam came back from a walk in Paradise, he found a howling, screaming child with Eve, who, in reply to his question, told him it was Samael's. Adam was annoyed, and his annoyance grew as the boy cried and screamed more and more violently. In his vexation he dealt the little one a blow that killed him. But the corpse did not cease to wail and weep, nor did it cease when Adam cut it up into bits. To rid himself of the plague, Adam cooked the remains, and he and Eve ate them. Scarcely had they finished, when Samael appeared and demanded his son. The two malefactors tried to deny everything; they pretended they had no knowledge of his son. But Samael said to them: "What! You dare tell lies, and God in times to come will give Israel the Torah in which it is said, 'Keep thee far from a false word'?"