Apparently it was against the Caps. Feb 21 1981
https://www.hockey-reference.com/boxscores/198102210NYR.html
For the record fastest hat trick in nhl history was 3 goals in 10 seconds by Bill Mosienko of the Chicago Blackhawks against the New York Rangers on March 23, 1952 – three goals in 21 seconds