Jabir (Allah be pleased with him) reported:
We used to practise 'azl during the life of Allah's Messenger (ﷺ).