Here:
https://support.sonos.com/en-us/article/set-up-your-sonos-sub?utm_source=www-care&utm_medium=sonos-sub-4%2Fcompatible-products&utm_campaign=en-us-www-care-sonos-sub-4%2Fcompatible-products
Home theater compatibility
Sub (Gen 1, 2, and 3) are compatible with all Sonos home theater speakers.
Sub 4 is compatible with all Sonos home theater speakers except Playbar and Playbase.
Product compatibility
Sub 4 is not compatible with Play:1, Play:3, Play:5 (Gen 2), Connect:Amp, SYMFONISK Bookshelf (Gen 1), or SYMFONISK Table lamp (Gen 1).
All Sub products are not compatible with Move products, Roam products, ZP80, ZP90, Connect, or Connect:Amp (Gen 1).