The Miami Marlins have agreed to acquire Andrew Cashner from the San Diego Padres, according to sources.

Miami entered Friday tied for the second Wild Card spot in the National League.

Barry Jackson of the Miami Herald reports that San Diego will also send Colin Rea to the Marlins in the deal.