Ah, on second thought, I AM familiar with the story of the Mary (perhaps Magdalene), when she was anointing Jesus’ feet, and kissing them, and wiping her tears with her hair. Is that the incident you meant?
Bingo.
I think it's called podophilia for christians.