We used to practice coitus interrupt us while the Qur'an was being revealed. Jabir added: We used to practice coitus interrupt us during the lifetime of Messenger of Allah ﷺ while the Qur'an was being Revealed. (Using translation from Bukhārī 5208)
«كُنَّا نَعْزِلُ عَلَى عَهْدِ رَسُولِ اللهِ ﷺ وَالْقُرْآنُ يُنَزَّلُ»