The comment of @Andrew Morton fixed it. Put the SUB call BEFORE the SUB declaration.
test 1.bas:
Hey REM $INCLUDE: 'test2.bas'
Hey test2.bas:
SUB Hey PRINT "HEY" END SUB