The line "baby you're a rich man" (not "cry in the night") is from "Baby You're a Rich Man" by The Beatles (1967, Magical Mystery Tour).
If you're recalling a different lyric—e.g., "baby you cry in the night"—it may be a misheard line from:
Please share more lyrics or context (genre, era, male/female voice) for accurate identification.