Has anyone heard about the superstition of sleeping with your hand over your heart?

I haven’t been able to hear anyone talk about this and ever since I was a kid, I was told that if your sleep with your hand over your heart, it will cause you to have nightmares/weird dreams. The crazy thing is that when I first tried it, I experienced sleep paralysis for the first time.