Muhammad dictated the contents of the Quran to his scribes over a period of twenty-three years. Only after his death was the Quran collected into a book. Verses that had been dictated years or decades apart are frequently found side by side in the Quran, often with no obvious connection.