Can You Pray behind Someone Who Makes Mistakes in Al-Fatihah?
Question

1- The Imam of the mosque where I pray makes mistakes in reciting Al-Fatihah, switching the vowels which lead to changing the meaning of the verses. Is it valid to pray behind him?
2- In the mosque there are reprehensible Bid`ahs such as repeating Ya Latif one hundred times in unison. Is this allowed in Islam?
Praise be to Allah.Do mistakes in reciting Al-Fatihah invalidate the prayer?
If a person who is leading the prayer or praying behind an Imam makes mistakes in the recitation of Al-Fatihah in such a way that he changes the meaning of the verses, then his prayer is invalid. This is because Al-Fatihah is one of the pillars or essential parts of the prayer, so he must recite it correctly and learn to recite Al-Fatihah properly . If he is unable to do so after trying hard, then Allah does not burden any person beyond his scope. 
However, if he is an Imam (i.e., leading the congregational prayer), then no one should pray behind him except those who are like him or less able than him to recite Al-Fatihah properly. 
An-Nawawi (may Allah have mercy on him) said: 
“It is disliked for one who makes grammatical mistakes when reciting the Quran to lead the prayer, but it is subject to further discussion. If he makes mistakes that do not change the meaning, such as using incorrect vowels in the phrase Al-hamdu Lillah, then his prayer is valid, as is the prayer of those who follow him. But if it does change the meaning, such as saying An’amtu (first person) instead of An`mta (second person) `alayhim, then his prayer is invalid. If he is able to learn how to pronounce it properly, then he must do so, but if he is unable to do so and there is not enough time, he should pray and make it up later on, but it is not permissible to follow him (in prayer). 
But if he is not able to learn or he has not had enough time to learn, if that is in Al-Fatihah then the prayer of others like him that is offered behind him is valid, but if people who can pronounce it properly pray behind him, it is like the prayer of a literate person offered behind an illiterate person (i.e., the prayer is not valid). If it is in something other than Al-Fatihah then his prayer is valid, as is the prayer of those who pray behind him.” (Rawdat At-Talibin, 1/350)
Ibn Qudamah (may Allah have mercy on him) said: “If an illiterate man leads an illiterate man and a literate man in prayer, the literate man has to repeat his prayer” – the illiterate man is one who cannot recite Al-Fatihah or part of it properly, or he mispronounces one letter of it, even if he recites the rest of it well. It is not permissible for one who can recite it well to be led by him in prayer, but it is permissible for others like him to be led by him.” 
Then he (may Allah have mercy on him) said: 
“Whoever omits one of the letters of Al-Fatihah because he is unable to pronounce it, or he substitutes another letter for it, such as the person with a speech defect who substitutes Ghayn for Ra’, or who contracts one letter into another, or who recites with grammatical mistakes that alter the meaning, like the one who uses the wrong vowel in the word Iyyaka and says Iyyaki instead, or says An`amtu instead of An`amta, and cannot correct it – such a one is like an illiterate person, and it is not permissible for a literate person to be led by him in prayer, but it is permissible for any of them to lead another like him in prayer, because they are both illiterate, so it is permissible for one of them to be led by the other, like two who do not do something well. However, if he is able to correct any of that but he does not do so, then his prayer is not valid and neither is the prayer of one who is led by him.” 
He (may Allah have mercy on him) also said: 
“It is disliked for one who makes grammatical mistakes when reciting but does not alter the meaning to lead the prayer. This was stated by Ahmad, but it is valid for him to lead one who does not make mistakes when reciting, because he has fulfilled the obligation of reciting. If he alters the meaning in something other than Al-Fatihah that does not mean that his prayer is not valid and that he should not lead others in prayer, unless he does it deliberately, in which case the prayer of both is invalidated. 
If his mistakes do not change the meaning of the verses, then it is permissible to pray behind him, but it is obligatory to teach him how to recite properly. If his mistake is in something other than Al-Fatihah, it detracts from his prayer but does not invalidate it, but it is undoubtedly better to pray behind one who recites properly, and it is not permissible for those in authority to appoint such ignorant people to lead the people in prayer otherwise they will have a share of the sin with them.”  (Al-Mughni, 3/29-32) 
The scholars of the Standing Committee said:  
“… But if he makes mistakes, if his error is grammatical but does not alter the meaning, then it is better to pray behind someone who does not make grammatical mistakes if that is possible. But if his grammatical mistakes in recitation Al-Fatihah alter the meaning, then prayer offered behind him is invalid. That is because of his mistakes, such as saying Iyaaki na’budu instead of Iyaaka na’budu or saying An`amtu `alayhim instead of An`amta `alayhim etc. If he makes mistakes because he has not memorized it properly, then someone else who has memorized it better is more entitled to lead the prayer than him.” (Fatawa Al-Lajnah Ad-Da’imah lil-Buhuth Al-`Ilmiyyah wal-Ifta’, 2/527) 
Shaykh ‘Abd Al-‘Aziz ibn Baz (may Allah have mercy on him) was asked: 
There is an Imam who makes grammatical mistakes when he recites the Quran, and sometimes he adds to or takes away letters in the Quranic verses. What is the ruling on praying behind him? 
He (may Allah have mercy on him) replied: 
“If the Imam’s mistakes do not alter the meaning, there is nothing wrong with praying behind him, such as if he says Rabba or Rabbu instead of Rabbi in the phrase Al-hamdu Lillahi Rabbi l-`alamin; or if he says Al-Rahmanu instead of Al-Rahmani etc. But if his mistake changes the meaning, then people should not pray behind him if he does not benefit when being corrected, such as if he says  Iyyaki na`budu instead of Iyyaka na`budu or saying An`amtu `alayhim instead of An`amta `alayhim. But if he accepts being taught and corrects his recitation when corrected , then it is valid to pray behind him. What is prescribed in all cases is for the Muslim to teach his brother both in prayer and otherwise, because the Muslim is the brother of his fellow-Muslim and he guides him if he makes a mistake and teaches him if he is ignorant and corrects him if he makes a mistake when reciting the Quran.” (Majmu` Fatawa Ibn Baz, 12/98-99) 
Is reciting Ya Latif 100 times allowed in Islam? 
With regard to repeating Ya Latif one hundred times , undoubtedly this is a Bid`ah (innovation) if a Muslim says it by itself, because it is a phrase that makes no sense – it is a call to Allah but what comes after it? Is he asking his Lord for anything? Does he want to praise Him after that? That is not so. And if it is recited in unison that is another Bid`ah . 
And Allah knows best.