It was narrated that Ibn 'Abbas said: "The Messenger of Allah ﷺ forbade performing prayer behind one who is engaged in conversation or one who is sleeping".
The Prophet Muhammad, peace be upon him, was very clear about this teaching and wanted to ensure that everyone was able to focus on their prayers without any distractions. He wanted people to understand the importance of prayer and how it can bring one closer to Allah if done properly with full concentration and devotion. This hadith reminds us of the importance of respecting others when they are engaging in worship so as not to disturb them from their spiritual journey towards Allah's pleasure.