“Two great, courageous Americans,” Mr Trump’s son tweeted.
He removed the tweet with a photo of the two rappers in hats saying Trump 2020 after being called out by Ice Cube on Twitter.
In the original photo, both entertainers were wearing baseball caps with sports logos.
Ice Cube’s hat says Big3, a reference to a three-on-three basketball league he co-founded, and 50 Cent wears one with the New York Yankees logo.
Ice Cube shared the original photo on his Twitter account on July 6 to send a birthday message to 50 Cent.
“Happy birthday to the homie @50cent,” he tweeted with the photo.
The manipulated image was shared thousands of times on Twitter and Facebook since it began gaining attention on Monday.
“This is the start of a really bad week for the Democrats…” one Twitter user said on a post with the altered photo that had more than 8,000 shares on Monday.
Ice Cube, whose real name is O’Shea Jackson, has come under fire for appearing to work with the Trump administration on his Contract with Black America, which calls for a new dynamic for how the country is run to address racial issues.
In a recent interview with CNN, he said both the Trump campaign and Democratic presidential candidate Joe Biden’s campaign reached out to him about his contract.
“One campaign said, ‘We love what you have but let’s really dig into it after the election’, and one campaign said, ‘We love what you have, do you mind talking to us about it’, and that’s what I did,” he said on CNN.
Whoever is in power I am going to work with
“The Trump campaign came to me and asked me to explain to them some of the Contract with Black America.”
Ice Cube clarified that he has not endorsed either campaign.
“Whoever is in power I am going to work with,” he said on CNN.
On Monday, 50 Cent, whose real name is Curtis James Jackson III, took to Instagram to say Vote for Trump.
The rappers had not responded to requests for comment at the time of publication.