Redirecting to Islam during the Tang Dynasty