Capping off a pipe under the sink
We have recently disconnected the washing machine in our flat ready to let the property. I need to put a temporary cap on where the waste pipe from the washing machine joined the piping under the sink. Can you tell me what exactly I will need for this? I don't want to change the fitting under the sink as the tenant will want to plumb in a washing machine. I just need to cap it temporarily as water flows into the cupboard under the sink when the tap is turned on.
Can someone help me with this?
Thanks