What if we have been praying salat wrong unintentionally throughout our lives and don't know it. I've heard that Allah Almighty also gives importance to niyah. So in the following case because of our niyah to perform salat and because of not doing it intentionally will we be forgiven. Because I have heard from an elder that it might be very difficult that we are praying the correct way and many people pray in different ways according to their beliefs so Allah looks at our niyah of performing salat instead of the method
closed as unclear what you're asking by Medi1Saif♦ Sep 5 '18 at 9:59
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Performance and Niah are both important to be done properly and cannot cover for each other. But ignorance is negligible and you can correct yourself as soon as you discover the fault, and move on accordingly.