Shama-il Tirmidhi Chapter 37, Hadith Number 1 (240).

Aisha radiyallahu anha reports, Once, at night, Rasoolullah sallallahu alaihe wasallam related an event to his family members. One of the ladies said, this story is just like the stories of Khuraafah. (The Arabs used the stories of Khuraafah as proverbs). Rasoolullah sallallahu alaihe wasallam asked, Do you know what is the original story of Khuraafah? Khuraafah was a man from the tribe of Banu Udhrah, whom the jinns took away. They kept him for some time, then left him among the people. He related to the people strange things of his stay there. The people were astonished. After that every amazing story is called Khuraafah.

Commentary
It is possible that the person had another name, and because the people took his stories to be fables and amusing, he became famously known as Khuraafah. In the time of the Jaahiliyyah, exorcism was widespread. The jinns troubled humans very much, they took them away, spoke to them, had intercourse with women, etc. of which there are many famous incidents. After the appearance of Islam their strength subsided, till some people began to believe that jinns existed before, and now they do not exist. The fact is that they do exist, but do not have the power they possessed previously. At the time of the birth of Sayyidina Rasoolullah sallallahu alaihe wasallam the events that took place, the wailing, trouble, etc. that the jinns experienced is a testimony to this. In the Sahih Bukhari a narration of Sayyidina Umar radiyallahu anhu is mentioned, where he states about the poetry of a beloved woman of a magician, named Janiyah, on grief, disgrace and the misfortune of the jinns. Imaam Suyuti has mentioned many incidents of this nature in his book ‘Khasaa-is-Kubra’.