[Machine] I heard the Messenger of Allah ﷺ say, "The prescribed prayers (salat) expiate what came before them, until the next prayer, and the Friday prayer expiates what came before it, until the next Friday prayer, and Ramadan expiates what came before it, until the next Ramadan, and the pilgrimage (hajj) expiates what came before it, until the next pilgrimage."
سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ «الصَّلَاةُ الْمَكْتُوبَةُ تُكَفِّرُ مَا قَبْلَهَا إِلَى الصَّلَاةِ الْأُخْرَى وَالْجُمُعَةُ تُكَفِّرُ مَا قَبْلَهَا الْجُمُعَةُ الْأُخْرَى وَشَهْرُ رَمَضَانَ يُكَفِّرُ مَا قَبْلَهُ إِلَى شَهْرِ رَمَضَانَ وَالْحَجُّ يُكَفِّرُ مَا قَبْلَهُ إِلَى الْحَجِّ»