FR 5204 then FR 7156 at Dublin
Sofia → Dublin → Madrid
Timetable, Dublin time
19:20FR 5204 from Sofia at the gate
09:10FR 7156 to Madrid leaves the gate
13 h 50 apart on the timetable, overnight
FR 7156 leaves 13 h 50 after FR 5204 arrives on the timetable: more than half a day, so not a connection we count.