The man was injured while he was with his friends