Mishkat al-Masabih 2168
وَعَنِ ابْنِ عُمَرَ رَضِيَ اللَّهُ عَنْهُمَا قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِنَّ هَذِهِ الْقُلُوبَ تَصْدَأُ كَمَا يَصْدَأُ الْحَدِيدُ إِذَا أَصَابَهُ الْمَاءُ» . قِيلَ يَا رَسُولَ اللَّهِ وَمَا جِلَاؤُهَا؟ قَالَ: «كَثْرَةُ ذِكْرِ الْمَوْتِ وَتِلَاوَةِ الْقُرْآنِ» . رَوَى الْبَيْهَقِيُّ الْأَحَادِيثَ الْأَرْبَعَةَ فِي شُعَبِ الْإِيمَانِ
From Ibn ʿUmar, may Allah be pleased with them both, who said: The Messenger of Allah ﷺ said: "These hearts rust as iron rusts when water reaches it." It was said: "O Messenger of Allah, and what polishes them?" He said: "Remembering death much, and reciting the Quran." Al-Bayhaqi reported the four hadiths in Shuʿab al-Iman.