Authored by al-Khatib al-Baghdadi, a well known scholar of the Prophet Mohammed's teachings
"This book, which contains flirtation, profanity, and even a little drunkenness, is a lot of fun and offers a rather different perspective to the austere image Islam has from that period. The reality is that the Baghdad of 1,000 years ago was actually rather Bohemian -- it wasn't perfect by any means -- but not the violent and repressive society you might imagine it was."
Here are some of the jokes:
Once a man crashed another man's party. "Who are you?" the host asked him. "I'm the one who saved you the trouble of sending an invitation!" he replied.
A party-crasher walked into a gathering, and they said to him, "Nobody invited you!" "But if you didn't invite me and I didn't come," he replied, "think how lonely that would be!"
Once a party-crasher walked in the house of a man who had invited a gathering of people. "Hey, you!" the man said. "Did I say you could come?" "Did you say I couldn't come?" the party crasher replied.
Source