** All friends have replied adequately. This was a very simple question, could be asked from any Muslim and no need to go to any website for that.
- Prayer (Salat) is essential under all conditions for all male/female persons over the age of about 12 years. Ladies are not to perform the prayer during their menses. They are not to fast also.
- If any one is sick, he/she has to perform the prayer at the right time, unless the person is unconscious.
- The daily prayer is to be performed in the mosque collectively. There are collective prayers and there are individual prayers. The collective prayers (obligatory= Fardh) must be perfromed collectively unless it becomes very difficult / impossible.
- The individual prayers should not be perfromed collectively. They are called Nawafil (extra, discretionary, optional prayers).
For the particular question, please see the last two verses of chapter two of Quran, shown below: A small part is shown colored Blue.**
[2:285] اٰمَنَ الرَّسُوْلُ بِمَاۤ اُنْزِلَ اِلَيْهِ مِنْ رَّبِّهٖ وَ الْمُؤْمِنُوْنَؕ كُلٌّ اٰمَنَ بِاللّٰهِ وَمَلٰٓٮِٕكَتِهٖ وَكُتُبِه وَرُسُلِهٖ لَا نُفَرِّقُ بَيْنَ اَحَدٍ مِّنْ رُّسُلِهٖ وَقَالُوْا سَمِعْنَا وَاَطَعْنَا غُفْرَانَكَ رَبَّنَا وَاِلَيْكَ الْمَصِيْرُ
[2:285] This Messenger of Ours believes in that which has been revealed to him from his Lord, and so do the believers: all of them believe in Allah, and in His angels, and in His Books, and in His Messengers, saying, ‘We make no distinction between any of His Messengers;’ and they say, ‘We hear, and we obey. We implore Thy forgiveness, O our Lord, and to Thee is the returning.’
[2:286] لَا يُكَلِّفُ اللّٰهُ نَفْسًا اِلَّا وُسْعَهَاؕ لَهَا مَا كَسَبَتْ وَعَلَيْهَا مَا اكْتَسَبَتْؕ رَبَّنَا لَا تُؤَاخِذْنَاۤ اِنْ نَّسِيْنَاۤ اَوْ اَخْطَاْنَاۚ رَبَّنَا وَلَا تَحْمِلْ عَلَيْنَاۤ اِصْرًا كَمَا حَمَلْتَهٗ عَلَى الَّذِيْنَ مِنْ قَبْلِنَاۚرَبَّنَا وَلَا تُحَمِّلْنَا مَا لَا طَاقَةَ لَنَا بِهٖ ۚ وَاعْفُ عَنَّا وَاغْفِرْ لَنَا وَارْحَمْنَا اَنْتَ مَوْلٰٮنَا فَانصُرْنَا عَلَى الْقَوْمِ الْكٰفِرِيْنَ
[2:286] Allah burdens not any soul beyond its capacity. It shall have the reward it earns, and it shall get the punishment it incurs. Our Lord, do not punish us, if we forget or fall into error; and our Lord, lay not on us a responsibility as Thou didst lay upon those before us. Our Lord, burden us not with what we have not the strength to bear; and efface our sins, and grant us forgiveness and have mercy on us; Thou art our Master; so help us Thou against the fanatic, hostile disbelieving people.