[Machine] I heard the Messenger of Allah ﷺ saying, "The obligatory prayer erases what comes before it, just as the next prayer erases what comes before it. Friday prayer erases what comes before it, just as the next Friday prayer erases what comes before it. The month of Ramadan erases what comes before it, just as the next month of Ramadan erases what comes before it. And the Hajj erases what comes before it, just as the next Hajj erases what comes before it."
سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ «الصَّلَاةُ الْمَكْتُوبَةُ تُكَفِّرُ مَا قَبْلَهَا إِلَى الصَّلَاةِ الْأُخْرَى وَالْجُمُعَةُ تُكَفِّرُ مَا قَبْلَهَا الْجُمُعَةُ الْأُخْرَى وَشَهْرُ رَمَضَانَ يُكَفِّرُ مَا قَبْلَهُ إِلَى شَهْرِ رَمَضَانَ وَالْحَجُّ يُكَفِّرُ مَا قَبْلَهُ إِلَى الْحَجِّ»