Infographic
What to do when unsure how many rakʿahs you have prayed: when to repeat, the five valid doubts, Salat-e Ihtiyat and how to perform Sajdah Sahv.