Bulugh al-Maram 42
وَعَنْهُ: أَنَّهُ رَأَى النَّبِيَّ - صلى الله عليه وسلم - يَأْخُذُ لِأُذُنَيْهِ مَاءً خِلَافَ الْمَاءِ الَّذِي أَخَذَ لِرَأْسِهِ. ⦗١٧⦘ أَخْرَجَهُ الْبَيْهَقِيُّ. وَهُوَ عِنْدَ مُسْلِمٍ مِنْ هَذَا الْوَجْهِ بِلَفْظٍ: وَمَسَحَ بِرَأْسِهِ بِمَاءٍ غَيْرَ فَضْلِ يَدَيْهِ, وَهُوَ الْمَحْفُوظُ.
And from him: He saw the Prophet ﷺ take water for his ears other than the water he had taken for his head. Reported by al-Bayhaqi. It is with Muslim by this route with the wording: And he wiped his head with water other than what was left over on his hands; and that is the preserved [wording].