We used to practise 'azl during the life of Allah's Messenger (ﷺ).
Sahih Muslim Book 16, Hadith 162