Answer
Rasulullah (Sallallahu Alayhi wa sallam) said: Whosoever goes to a soothsayer is not from amongst us.
To go to a soothsayer is a major sin. We have not come across a Hadith stating that such a person’s prayer will not be accepted for seven years.
However, in principle, if a sinful person sincerely repents, his sin will be forgiven.
And Allah Ta’ala Knows Best
Mufti Ebrahim Desai