Feel a bit sorry for one of my neighbours, youngish family that have been flooded twice with flooring ruined both times because rat(s) got in through the washing machine outlet and burrowed through pipe to get to the ktichen. I got...
The photo looks to me like someone used push-fit pipe for the vertical waste pipe with a solvent weld fitting. To confirm, measure the diameter of the waste pipe. Callipers are best but if you don't have them... Cut a piece of thread...