Ahmed got zinged for his role in "Rogue One: A Star Wars Story," with Corden saying the actor was worse than Jar Jar Binks.
"I know ruining a 'Star Wars' is seen as unlawful/But here's a 'Rogue One' spoiler -- in it he's awful," Corden rapped. "Honestly it's mean to say in 'Star Wars' he stinks/He made me miss the days of Jar Jar Binks/Your sex scene in 'Girls' might need an acting class/You didn't need to get naked to show us you're an ass/'The Night Of' it's a murder mystery right?/Well there's no mystery here because I'm killing you tonight."
Ahmed's response? The "Late Late Show" host couldn't get a role in the franchise, because they weren't casting "Jabba the Hutt's dad." Ouch!
Corden then compared the actor (who raps with Swet Shop Boys), to "the world's worst version of Will Smith." That prompted Ahmed to diss the TV host: "You look like Matt Damon if he only ate butter" and dismiss him as a "singing Uber driver."
Among those name-dropped: Sean Spicer, Kendall Jenner, and United Airlines.
Watch the whole rap battle in the video below: