What prefect wrote to Ibn Sani offering him a position?