They were also commonly donated to mosques, which often amassed large collections of them