The Caliph and the delusional man
A certain man claimed to be God and was brought before the Caliph, who said to him,"Last year someone here claimed to be a prophet and he was put to death!"
The man replied, "It was well that you did so, for I did not send him."
(9th century joke)