I realize that studying sorcery or consulting a soothsayer is unlawful, but I am confused as to whether or not someone who knew these practices would be able to become a Muslim. I am under the impression that anyone who says shahada and truly means it can become Muslim, but does certain knowledge forbid one entry into Allah's path?
I am looking for Qur'anic verses or hadiths that can help answer the question.