Jim Bowden breaks down the Padres working out a deal with the Marlins to send Colin Rea back to San Diego after Miami initially acquired him in a deal last week. (1:17)

The Miami Marlins are shipping newly acquired right-hander Colin Rea back to the San Diego Padres after he only pitched 3 1/3 innings with Miami before getting injured.

Rea was acquired Friday in a seven-player trade with the Padres that also sent right-hander Andrew Cashner to Miami. The Marlins are keeping Cashner and sending Rea back in a new deal.

The Marlins get pitching prospect Luis Castillo back, who was in the original deal for Rea. Castillo, a 23-year-old right-hander, was 7-3 with a 2.25 ERA in 100 innings pitched for Jupiter, the Marlins' Class-A team in the Florida State League at the time of Friday's trade.

Right-hander Colin Rea was returned to the San Diego Padres after he left his first start with the Miami Marlins because of injury. Steve Mitchell/USA TODAY Sports

Rea was placed on the 15-day disabled list with a right elbow sprain on Sunday.

Rea pitched 3⅓ scoreless innings and allowed one hit against the St. Louis Cardinals before he left Saturday's game. He said he first felt pain warming up before the game.

Information from The Associated Press was used in this report.