The prayers are spread throughout the day. If one keeps to their prayers at their specified times, there is no opportunity to get attached. As soon as we begin to become engrossed in whatever dunya matter we’re involved in (the job we’re doing, the show we’re watching, the test we’re studying for, the person we can’t get off our mind), we are forced to detach from it and turn our focus to the only true object of attachment.