It has no basis in Scripture, it is purely Church doctrine and ritual, and has been performed in Catholic and Eastern Orthodox Churches for more than a thousand years.
Didn't find the answer you were looking for?