EI 5791 then AA 8651 at Madrid
Dublin → Madrid → Barcelona
Timetable, Madrid time
13:50EI 5791 from Dublin at the gate
18:00AA 8651 to Barcelona leaves the gate
4 h 10 apart on the timetable
The last days
EI 5791 and AA 8651 weren’t both flown 15 min to 12 h apart in the last 21 days.
Statistics from past flights, not live flight information. Always check times and your connection with your airline, and don’t base travel or booking decisions on these numbers.