Some people or workers resort in praying in the workplace. What is the ruling on their praying in their offices?
The primary premise is that prayer should be offered in the Masjid which is why Masjids were built. The Prophet (Sallallahu Alayhi Wasallam) said: Whomever hears the call to prayer but does not react has no prayer (i.e., his prayer is not perfect) unless he has a reason. (Tirmizi) It is compulsory therefore for the one who hears the call to respond and pray in the Masjid in congregation. It is necessary to worship in a congregation, and this congregation should take place at the Masjid. It is acceptable to worship at the workplace if the Masjid is too far away.