What is the conditions for the prayer?
1- Being a Muslim.
2- Being sane.
3- Having reached the age of puberty (being an adult),
4- Having been cleansed from menses or post-natal bleeding (a condition specific to women)
A sane and adult believer having the above-mentioned conditions must perform the ritual prayers in their prescribed times.
Source: Fiqh1 (According To The Shafi’i School Of Islamic Law), Erkam Publications