FR 7157 then FR 5164 at Dublin
Madrid → Dublin → Bristol
Timetable, Dublin time
23:00FR 7157 from Madrid at the gate
15:45FR 5164 to Bristol leaves the gate
16 h 45 apart on the timetable, overnight
FR 5164 leaves 16 h 45 after FR 7157 arrives on the timetable: more than half a day, so not a connection we count.