Another judicial source said the authorities also executed a man who last year shot dead a Christian writer who was standing trial for contempt of religion after sharing on social media a caricature insulting Islam.