In Sleepless in Seattle (1993), Annie (Meg Ryan) watches and references An Affair to Remember (1957, Cary Grant/Deborah Kerr).
Annie and Becky (Rosie O’Donnell) watch the climax: Nickie and Terry pledge to reunite at the Empire State Building in six months. Annie is moved by this romantic ideal.
Sleepless mirrors it—Sam (Tom Hanks) and Annie meet atop the Empire State Building on Valentine’s Day, fulfilling the same destined-love promise.