Is prayer nullified by having thoughts while performing it?
Prayer isn`t nullified by having thoughts while performing it, provided that the praying person offers all of its pillars and meets all of its conditions. However, the reward decreases significantly in the absence of reverence since a praying person is rewarded according to the attentiveness of his/her heart during prayer.
Is it permissible to trim the eyebrows if they become excessively long?
Trimming eyebrows is permissible if they become excessively long, yet; it is reprehensible. And Allah Knows Best.
An Imam stood to offer a fifth Rak`ah in a four-Rak`ah prayer, and he was reminded to sit by those behind him, but he wouldn`t listen. What is the ruling on those who followed his lead knowingly and intentionally?
If the Imam stood to offer a fifth Rak`ah, those praying behind him shouldn`t have approved of that, and the prayer of those who did is considered null and void.
I prayed all the obligatory prayers in congregation, but after finishing the `Isha prayer, I remembered that I had forgotten to pray Dhuhr. What should I do, and is my prayer invalid?
Your prayers are valid, but you must make up the Dhuhr prayer as soon as you remember it, based on the saying of the Prophet (peace be upon him): "Whoever forgets a prayer must pray it as soon as they remember it; there is no expiation for it except this." [Muslim]. And Allah knows best