The story you are likely referring to is the famous "Interview with a Muslim Jinni" involving a jinni named Ibn Kanjur
Also, note any unique aspects of the PDF compared to other works on jinns in Islamic theology. Perhaps it focuses on Malayalam language contributions to the discourse. mustafa kanjoor jinn malayalam pdf download