Narrated Jabir: We used to practice coitus interrupt us while the Quran was being revealed. Jabir added: We used to practice coitus interrupt us during the lifetime of Allah's Apostle while the Quran was being Revealed.
— Sahih Bukhari, Volume 7, Book 62: Wedlock, Marriage (Nikaah), Hadith #136