redirects: when redirecting to another domain, to which domain will HSTS be applied?

Assuming the following, what domain will be HSTS & # 39; ed for next year, foo.com or bar.com? RTFM (RFC6797) does not help much.

> GET / HTTP / 1.1
> Host: foo.com
[ ... ]
<HTTP / 1.1 301 Permanently moved
<Strict transport security: maximum age = 31536000; includeDubains; preload
<Location: https://bar.com