Sahih Muslim, Book 16, Hadith 161 (Muslim 3527)

Jabir (Allah be pleased with him) reported:

We used to practise 'azl while the Qur'an was revealed (during the days when the Prophet was alive).