Not that it makes much difference, perhaps, but as far as I can tell from looking at archives of the Arabic Wikipedia sysop list, both the jailed Wikipedians (User:OsamaK and User:Ziad) had stopped being administrators around 2017, several years before their arrests:
https://web.archive.org/web/20161008095137/https://ar.wikipe...
https://web.archive.org/web/20171031110427/https://ar.wikipe...
https://web.archive.org/web/20171031110427/https://ar.wikipe...
https://web.archive.org/web/20180821114358/https://ar.wikipe...
Edit: Desysop logs (stated reason in both cases was lack of local activity, not any wrongdoing):
https://xtools.wmflabs.org/ec-rightschanges/ar.wikipedia.org...
https://xtools.wmflabs.org/ec-rightschanges/ar.wikipedia.org...