When Muhammad dies, what had been compiled as a book