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 allowed to shave my beard to join the army taking into consideration that I can`t find a job?
All perfect praise be to Allah, the Lord of the worlds. I testify that there is none worthy of worship except Allah and that Muhammad, sallallahu ‘alayhi wa sallam, is His slave and Messenger.
The army should be joined in preparation for Jihad (Fighting in the cause of Allah), so if Jihad contradicts with growing a beard then it is allowed to shave it. And Allah The Almighty Knows Best.
Is it permissible to offer Salah (prayer) on behalf of the sick who is on his/her death bed, and is incapable of offering it?
It`s impermissible to offer Salah on behalf of the sick, or the dead.
Is it permissible to openly announce the engagement of a woman who is in her waiting period (iddah)?
It is not permissible to openly announce the engagement of a woman in her waiting period (Iddah), but it is permissible to hint (imply) at it if she is in her waiting period after the death of her husband. And Allah Knows Best.