FR 11 then FR 664 at Dublin
Madrid → Dublin → Birmingham (UK)
Timetable, Dublin time
23:35FR 11 from Madrid at the gate
15:40FR 664 to Birmingham (UK) leaves the gate
16 h 05 apart on the timetable, overnight
FR 664 leaves 16 h 05 after FR 11 arrives on the timetable: more than half a day, so not a connection we count.