FR 7140 then I2 1886 at Dublin
Vilnius → Dublin → Madrid
Timetable, Dublin time
00:50FR 7140 from Vilnius at the gate
18:30I2 1886 to Madrid leaves the gate
17 h 40 apart on the timetable
I2 1886 leaves 17 h 40 after FR 7140 arrives on the timetable: more than half a day, so not a connection we count.