The conditions of the validity of prayer are nine in all: 1- Being Muslim, 2- Being of sound mind, 3- Discernment, 4- Being free of ritual impurity, 5- Removal of tangible impurity, 6- Covering the 'awrah, 7- The time for that prayer should have begun, 8- Facing the qiblah and 9- Forming the right intention.