Sahih al-Bukhari, Hadith 5207 ⓘ

Narrated Jabir: We used to practice coitus interrupt us during the lifetime of Allah's Messenger.

حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ، عَنِ ابْنِ جُرَيْجٍ، عَنْ عَطَاءٍ، عَنْ جَابِرٍ، قَالَ كُنَّا نَعْزِلُ عَلَى عَهْدِ النَّبِيِّ صلى الله عليه وسلم‏.‏

sunnah.com