There's no historical record—music predates writing by tens of thousands of years. The first live "song" was probably a simple melody hummed or chanted by early humans during daily activities: a lullaby to soothe a child, a work rhythm to coordinate labor, or a ritual chant to mark a ceremony.
Archaeological evidence (bone flutes from ~40,000 years ago) confirms sophisticated music-making, but the very first vocalizations that crossed from communication into "music" are lost to time. What we know is that every known human culture sings—suggesting the impulse is as old as our species.