Ilme Ghayb And Jinns
As per Quran, Jinns claims to know the unseen. But Allah has showed them they dont know anything unless Allah wills to inform. Read these ayah which discuss the death of Hazrat Sulaiman (A.S.) https://quran.com/34/14