He heard him ____a song.
He heard him ____a song.
Explanation
"He heard him sing a song."
Verbs like "hear, see, watch, feel" are followed by the bare infinitive (i.e., the base form of the verb without "to") when used in the active voice.
So, "heard him sing" is correct, not "to sing" or "sang."