The most direct reference is Ice Cube's own "It Was a Good Day" (1992), where he narrates his day in first person. Other songs mentioning Ice Cube:
If you heard a line about Cube, it's likely a guest verse or documentary sample. Cube references himself more than anyone else does—his discography is a self-mythologizing archive. The man who wrote "Today I didn't even have to use my AK" doesn't need others to write about him.