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