Zaid Alsalami, Shaykh Dr Zaid Alsalami is an Iraqi born scholar, raised in Australia. He obtained a BA from Al-Mustafa University, Qom, and an MA from the Islamic College in London. He also obtained a PhD from... Answered 3 years ago
Bismihi ta'ala
No, your prayer is not invalid, as it is not something that would nullify a prayer.
And Allah knows best