Hadithcore
Sahih Muslim, 1440 c
sahih

Jabir (Allah be pleased with him) reported:

We used to practise 'azl during the lifetime of Allah's Messenger (ﷺ). This (the news of this practise) reached Allah's Messenger (ﷺ), and he did not forbid us.

وَحَدَّثَنِي أَبُو غَسَّانَ الْمِسْمَعِيُّ، حَدَّثَنَا مُعَاذٌ، - يَعْنِي ابْنَ هِشَامٍ - حَدَّثَنِي أَبِي، عَنْ أَبِي الزُّبَيْرِ، عَنْ جَابِرٍ، قَالَ كُنَّا نَعْزِلُ عَلَى عَهْدِ رَسُولِ اللَّهِ صلى الله عليه وسلم فَبَلَغَ ذَلِكَ نَبِيَّ اللَّهِ صلى الله عليه وسلم فَلَمْ يَنْهَنَا ‏.‏

References2 variants
In-Book Reference
Book 16, Hadith 163
USC-MSA web (English) reference
Book 8, Hadith 3388 (deprecated numbering scheme)