E9 866 then FR 572 at Madrid
Santa Clara → Madrid → Porto
Timetable, Madrid time
01:40E9 866 from Santa Clara at the gate
16:40FR 572 to Porto leaves the gate
15 h apart on the timetable
FR 572 leaves 15 h after E9 866 arrives on the timetable: more than half a day, so not a connection we count.