Amina Inloes, Amina Inloes is originally from the US and has a PhD in Islamic Studies from the University of Exeter on Shi'a hadith. She is the program leader for the MA Islamic Studies program at the... Answer updated 1 month ago

In and of itself, there is nothing in Islam forbidding communication with any type of being (spirit, animal, human, tree, etc.). There is also nothing inherently forbidden about meditation or meditative practices.

However, some specific practices might be forbidden or at least deeply questionable, for instance, the use of psychoactive substances to induce these things.

Similarly, if someone does this for a wrong or haraam reason, this would also be forbidden.

The Quran does warn people about dependency or reliance on jinn, and that should be taken into consideration. People can be easily confused, deluded, or misled about these matters and there is also no guarantee that any spirit is going to say something which is truthful or beneficial. Sometimes people also get manipulated by things beyond themselves if they attempt to connect with them. So it is good to be careful and use good judgment. 

Note that some Muslims will take a more conservative approach to this question and say that it is forbidden based on reasons such as avoiding religious practices which are not prescribed by the Sunnah, etc. 

Also, attitudes among Muslims towards these things tend to vary, e.g. some Sufi groups tend to be more open to them. 

Anyway, people are called to all sorts of things in life. Some people are called to being artists, some to being athletes, some to what lies beyond. If you have a calling that is easily compatible with Islam, such as nursing, this is relatively straightforward. If you have a calling that is less easily compatible, such as being a ballet dancer, this is more difficult. In any case, part of being a dedicated Muslim who has a calling to something is deciding how to navigate and live one's calling in a way that is authentic to one's self and one's faith.