You have committed a sin by not going to the masjid earlier. Praying Thuhur is the right thing for those who missed Jum’ah.

I left my work for jumah salah but until I reached the mosque, it was finished & I knew that by the time I will get there jumah will have finished,so instead of jumah I’ve prayed dhuhr so by doing this have I comitted sin?

Prayer |