In issue 582 of the message on fasting and prayer, it states that if one remains in a place for thirty days after traveling eight farsakhs, they can pray completely after the thirty days, even if they have only spent half a day there, as long as they do not leave that place.