This is another article in the chapter Enormities from the classical manual on Sharia called Reliance of the Traveller. The articles are posted one by one in the order they are given in the book.
p41.0 BELIEVING IN FORTUNE•TELLERS OR ASTROLOGERS
p41.1 Allah Most High says:
(1) “Pursue not that which you have no knowledge of’ (Koran 17:36).
(2) “[He is] the Knower of the Unseen, and discloses not His unseen to anyone [dis: w60.1], except to a messenger with whom He is pleased” (Koran 72:26-27).
p41.2 The Prophet (Allah bless him and give him peace) said:
(1) “Whoever goes to a ‘psychic’ (‘arraf) or fortune-teller and believes what he says has disbelieved in what has been revealed to Muhammad.”
(2) “Allah Most High says, ‘One of My servants reaches daybreak a believer, another an unbeliever. He who says, “We have received rain by Allah’s grace,” is a believer in Me and a disbeliever in the planets. But he who says, “We have received rain by the effects of such and such a mansion of the moon, ” is an unbeliever in Me and a believer in planets’ [A: if he thinks they have a causal influence independent of the will of Allah (dis: 08.7(17»)].’ ”
(3) “Whoever goes to a ‘psychic,’ asks him about something, and believes him, will not have his prayer accepted for forty days.”