There's no reason to believe this. It probably originated from two love birds that thought about each other all the time. One likely confronted the other with his/her dream the next day and the other said "What a coincidence, I was thinking about you last night!". That's my take. Either that or it's just flatly made up to make someone feel better. Stupid old wives tales.