Hamed Ben Hamed Ben Isa Nacasis, Governor of Tetuan