Quran and sunna also privileged oral over written evidence, a principle that became increasingly impractical as literacy spread and documents came to form the basis of most commercial transactions. So the scholars developed theories about the witnessing of documents, an oral act which could turn a written text into a source of evidence.