Mishkat al-Masabih 450
وَعَن عبد الله بن عمر قَالَ كَانَتِ الصَّلَاةُ خَمْسِينَ وَالْغُسْلُ مِنَ الْجَنَابَةِ سبع مرار وَغسل الْبَوْل من الثَّوْب سبع مرار فَلَمْ يَزَلْ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُسْأَلُ حَتَّى جعلت الصَّلَاة خمْسا وَالْغسْل من الْجَنَابَة مرّة وَغسل الْبَوْل من الثَّوْب مرّة. رَوَاهُ أَبُو دَاوُد
From ʿAbdullah ibn ʿUmar, who said: The prayers were fifty, bathing from janabah was seven times, and washing urine from the garment was seven times. The Messenger of Allah ﷺ kept asking until the prayers were made five, bathing from janabah once, and washing urine from the garment once. Reported by Abu Dawud.