This particular lens is equipped with a Nikon Z mount. The filter size for this lens is 72 mm, so make sure the filters will fit.
From London Camera Exchange
Nikon Z 24mm f/1.8 S Nikkor
TechintheBasket
Nikon NIKKOR Z 24mm f/1.8 S Lens
This product is also available at 4 unverified stores.