AA 8676 then AA 8727 at Madrid
Bilbao → Madrid → Barcelona
Timetable, Madrid time
14:45AA 8676 from Bilbao at the gate
19:10AA 8727 to Barcelona leaves the gate
4 h 25 apart on the timetable
The last days
AA 8676 and AA 8727 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.