Yeah, this rest house was apparently right beside the mosque. Kind of like how the pastor's home is often right beside the church. Or maybe it was part of the mosque.