There are twenty three types of doubts in prayer. Eight of these invalidate the prayer, though the invalidation by some of them is based on precaution. Six of them should be dismissed, whereas the other nine are valid doubts.