EI 593 then EI 3372 at Dublin
Madrid → Dublin → Inverness
Timetable, Dublin time
12:20EI 593 from Madrid at the gate
10:20EI 3372 to Inverness leaves the gate
22 h apart on the timetable, overnight
EI 3372 leaves 22 h after EI 593 arrives on the timetable: more than half a day, so not a connection we count.