Abu Hurayrah narrated from the Prophet: ‘An ifrit from the jinn escaped to me last night to interrupt my prayer. Allah enabled me to overpower him. I took him and wanted to tie him to one of the pillars of the mosque so you could all see him. But I remembered my brother Solomon’s supplication: My Lord, grant me a kingdom not belonging to anyone after me. So I returned him humiliated.’
Sahih Bukhari – Book of Prophets
http://hadith.al-islam.com/Display/Display.asp?hnum=3170&doc=0






