كتب : وكالات
Mido, who joined on a free transfer last summer, leaves Oakwell following months of injury and fitness problems.
His contract was due to exprie in June, but Barnsley decided to prematurely end his spell.
The 29-year-old played no more than 27 minutes for the Tykes under former manager Keith Hill, who was sacked last month after declaring that Mido is set to leave.
The unattached Mido is now looking for a new club, a few hours before the transfer deadline in Europe.