Mosques organise iftar dinners after sunset . These are done after the fourth required prayer of the day . As Muslims must fast during the day during Ramadan , mosques will host iftar dinners after sunset and the fourth required prayer of the day , maghrib .