Islam accepts midday napping done before or after lunch, including after the Friday prayer as had been practised by the Prophet (pbuh). As described in the hadiths, midday napping should take place at specific times, before noon or early in the afternoon