Select Page

Do Not Turn Away: Lessons from the Three Men in the Prophet’s Mosque

Apr 9, 2026 | Publishing, Featured

Introduction

This article draws on ideas presented in Dr. Ahmad Abdelminem’s lecture Arjook Lā Tansarif. While the content has been adapted by the MAS Publishing Team for a written format with some restructuring and additional commentary, it is based on the concepts and reflections of the original speaker.

Every opportunity comes with a decision to step forward eagerly, wait and see, or back away. Each decision carries the weight of consequence in this world and the next, and reflects the state of our hearts. In this article, we will focus on a less-known hadith that begins with three men entering the Prophet’s mosque, a quiet and inconspicuous event that the Prophet ﷺ transforms into a powerful lesson for life. In this hadith, the Prophet ﷺ reminds us to reconsider turning away from opportunities to draw near, seek knowledge, join righteous gatherings, or serve the community. He ﷺ reveals to us how a simple, weightless choice may reverberate in the unseen world.

In this article, we will examine the following: the setting of the hadith; the approaches of the three men and what we may learn from them; and the practical applications we may take for our community work and personal lives. Taken together, these elements will help the reader adopt this hadith as a life principle, adjusting their perspective on responsibility and opportunities for good.

This hadith should be centered in our tarbiyah efforts, within ourselves and the community. When grasped in its full resolution, this hadith can reframe how we respond to the everyday chances to learn, worship, draw closer, and serve. It reminds us how much we are in need of those opportunities to do something good and warns us of the consequences of turning away from them.

The Story

Imagine the mosque in Madinah filled to capacity with people listening intently to the Prophet ﷺ preaching and reminding. Three men approached, each one intending to join the congregation. They surveyed the crowd, and, faced with the same scene, each quietly made a different choice.

Nothing dramatic happened. Their choices were ordinary, almost invisible. Yet, after some time when the Prophet ﷺ finished the matter at hand, he seized this occurrence and transformed it into a profound lesson: “Shall I tell you about three individuals?”

The hadith can be found in Sahih al-Bukhari, in Bab al-Ilm, the Chapter of Knowledge:

أنَّ رَسولَ اللَّهِ صَلَّى اللهُ عليه وسلَّمَ بيْنَما هو جَالِسٌ في المَسْجِدِ والنَّاسُ معهُ إذْ أقْبَلَ ثَلَاثَةُ نَفَرٍ، فأقْبَلَ اثْنَانِ إلى رَسولِ اللَّهِ صَلَّى اللهُ عليه وسلَّمَ وذَهَبَ واحِدٌ، قالَ: فَوَقَفَا علَى رَسولِ اللَّهِ صَلَّى اللهُ عليه وسلَّمَ، فأمَّا أحَدُهُمَا: فَرَأَى فُرْجَةً في الحَلْقَةِ فَجَلَسَ فِيهَا، وأَمَّا الآخَرُ: فَجَلَسَ خَلْفَهُمْ، وأَمَّا الثَّالِثُ: فأدْبَرَ ذَاهِبًا، فَلَمَّا فَرَغَ رَسولُ اللَّهِ صَلَّى اللهُ عليه وسلَّمَ قالَ: ألَا أُخْبِرُكُمْ عَنِ النَّفَرِ الثَّلَاثَةِ؟ أمَّا أحَدُهُمْ فأوَى إلى اللَّهِ فَآوَاهُ اللَّهُ، وأَمَّا الآخَرُ فَاسْتَحْيَا فَاسْتَحْيَا اللَّهُ منه، وأَمَّا الآخَرُ فأعْرَضَ فأعْرَضَ اللَّهُ عنْه.

While the Messenger was sitting in the masjid with the people, three people came. Two people walked towards the Messenger, while one left. The two who stayed in the presence of the Messenger —one of them looked until he saw a gap in the halaqa and sat in it. As for the other, he sat in the back. The third one turned away and left. When the Prophet finished [his speech or words], he said, “Shall I tell you about the three individuals? One of them turned to Allah for shelter, so Allah gave him shelter. Another was shy, so Allah was shy with him. As for the other, he turned away so Allah turned away from him.1  

Lessons from the three men in the masjid

The Setting of the Hadith

We can draw several lessons from the setting of the Hadith. The Prophet’s ﷺ mosque emerges not only as a place of worship but as the central classroom of Prophetic teaching and tarbiyah (guided development). Its doors were open, accessible, and welcoming even to those unknown in the community. Simply being present within was an act of obedience and spiritual discipline.

The hadith at hand is profound, although emerging from an ordinary occurrence in a routine space. Delving into the Prophet’s ﷺ words, we begin to see what they reveal about responsibility and opportunities: how easily they appear, how quietly they can pass, and how they can be turning points in one’s spirituality and relationship with Allah. Indeed, this real-life situation shows how a believer responds when a door of khayr (goodness) quietly opens. So many opportunities come to us the way those three men entered the masjid: casually, without spectacle, and requiring only a small decision of the heart. One steps forward, one hesitates, and one withdraws, and in each case, the action is simple, but the spiritual consequence is significant.

Today, we move through thousands of rushed, semi-conscious decisions, many of them in the digital world where choices feel frictionless and forgotten as quickly as they are made. But here, it is worth slowing down and considering what this hadith reveals: even routine decisions can carry enormous spiritual weight. A decision such as whether to stay or leave can ripple through the Unseen, alter our trajectory, and shape our relationship with our Creator.

As we consider today’s expansive, multi-purpose mosques, it is worth measuring them against the simplicity and intentionality of that first space. The space itself was unremarkable, but the blessing was outstanding based on the quality of the individual’s decision. Growth and serving larger communities are noble aims, but we must ask: how well do our mosques still function as training grounds for character formation? Do they cultivate the quality of hearts and the tarbiyah that characterized the mosque of the Prophet ﷺ?

A Profound Teaching Moment

This scene also offers is a window into the Prophet’s ﷺ gatherings of guidance, how he taught through the fabric of everyday life and how the Companions crowded around him, hanging on every word and gesture. Indeed, life, with all its messiness, was happening within the mosque and in the streets outside, and this was the ideal teaching material. He ﷺ did not wait for perfect conditions or rely on hypothetical examples; he ﷺ transformed what unfolded in the community into opportunities for guidance.

This model invites us to reflect on our own sermons and reminders: how well do we draw meaning from the everyday frictions and recurring habits that shape our communal life? When shoes are left scattered at the entrance of the prayer area, it should spark a conversation about order and consideration. When phone-scrolling is spotted too often in the prayer hall, it becomes a chance to teach better self-control and presence. When children’s energy fills the mosque, it is a chance to demonstrate how to welcome the next generation. Even parking patterns can become lessons in character. Instead of treating these moments as irritations or problems to manage, we should approach them as a living curriculum.

The Importance of Connection and Mentorship

Such learning and tarbiyah (guided development) cannot emerge from preaching alone; it grows from mentorship and shared life experiences. Effective mentors observe what others overlook and help people better understand themselves and their responsibilities. They build trust through consistently observing and being present while gently turning shared moments into opportunities for growth. This is tarbiyah in action: living alongside people, paying close attention to the small rhythms of community life, and using daily challenges as openings for spiritual growth and character refinement.

Finally, notice how the Prophet ﷺ waited for a period of time, concluding his topic of discussion, before commenting on the three men. Perhaps he did this so as not to embarrass them and to keep their identities private. This is yet another quality of a wise teacher and mentor: the ability to sense when to spotlight an individual and when to keep the teaching anonymous, when to personalize a moment and when to broaden it for everyone.

Three Approaches

Let us now turn to the three men and the framework they present to us. All three had a good intention to attend the Prophet’s ﷺ gathering—they all made their way to the mosque and walked through the door. This detail matters; it tells us that the hadith is not addressing those who remain outside the mosque altogether, uninterested and oblivious to the happenings within. Rather, it speaks to those who do come, those who already possess good intentions and the early stirrings of devotion. The lesson here is directed at the regular attendees and volunteers—people like us—whose choices after entering the door and after entering the circles of knowledge and Islamic work reveal the true state of their intentions and resolve. 

In this context, recall that the three men entered with similar intents, then diverged: 

  • One stepped forward eagerly, taking initiative despite the discomfort. 
  • Another hovered on the margins, shy, unsure, inexperienced, but sincere. 
  • The last was half-hearted, easily discouraged, and withdrew.

These three choices represent the different mindsets and personalities with which we enter the arena of good deeds and working for Islam. 

Filling the Gaps

The first one surveyed the crowd, “saw a gap in the halaqa,” and went and filled the gap. It was said that when the Companions would sit with the Prophet ﷺ, they would crowd and sit so close to him that one could throw a ridaa’ (cloak) and it would cover all of them. Scholars across the centuries have celebrated at-tazahum ‘ala abwab al-khayr, the eagerness that leads people to “crowd at the doors of good.” This reframes our perspective: a packed mosque or gathering is a blessing not a burden. To feel squeezed, physically or metaphorically, on the path of goodness is something to be grateful for, not something from which we retreat.

A second lesson we gain from the man who “saw a gap and filled it” is how to survey a scene to see where we fit, what is needed, and how we can help. Embracing the spirit of “Allah and His angels send blessings on those who connect the rows”2  , he stepped in and filled a gap in the halaqa without waiting to be invited. The Prophet ﷺ takes this small act of filling the gap and expands on its implications, and this invites us to step forward in a small way with the same grandness of intention.

Some people enter community work knowing instinctively how to contribute. They don’t wait for an invitation or detailed instructions; they ask, “What is needed here, and how can I help?” They take initiative and trust in the abilities Allah has given them.

It is true that sometimes the Prophet ﷺ assigned roles directly—such as instructing Zayd ibn Thabit to learn Hebrew, appointing Bilal to call the prayer as mu’adhin, or sending Huthayfah to scout in the Battle of the Trench. At other times, though, the Companions had to envision their own path, conceiving of bold and creative ways to contribute. Salman al-Fārisi proposed the idea of digging the trench. ʿUthmān ibn ʿAffān, unprompted, purchased a well and endowed it as a public water source to ease the city’s drought. Nuʿaym ibn Masʿūd was not even Muslim for a day before he devised a strategy to turn enemy factions against each other during the siege of Madinah. Khawlah bint Thaʿlabah courageously brought her marital injustice before the Prophet ﷺ, prompting revelation and reform. Each example shows a Companion creating a solution without being prompted. Each one of them identified a gap and stepped forward, confident in their own judgment and the skills given to them by Allah. 

A powerful saying (often attributed to the Prophet ﷺ but more likely from a Tābiʿī, a righteous believer of the generation after the Companions) captures this responsibility:

 كُلُّ رَجُلٍ عَلَى ثَغْرٍ مِنْ ثُغُورِ الإِسْلَام، فَاللهَ اللهَ أَلَّا يُؤْتَى الإِسْلَامُ مِنْ قِبَلِكَ
“Every person stands at a frontier of Islam, so fear Allah—do not let Islam be harmed from your direction.”10  3  

Every believer has a frontier to guard—actions to uphold, responsibilities to fulfil, and temptations to avoid—through which the religion is either protected or compromised. There are so many gaps in the line, even though there are so many of us to fill them. We must ask ourselves honestly: At which frontiers do I stand? In what ways might Islam be weakened through my negligence or absence? Which gaps am I filling and which ones am I leaving exposed?

When We Fail to Step Forward: Lessons from the Battle of Hunayn

The Battle of Hunayn is an illuminating illustration of what can happen when everyone assumes someone else will hold the line. Before the start of the battle of Hunayn, the Muslim force numbered over 10,000, the largest force they had ever mustered. The Muslims said to themselves, “If we are defeated today, it will not be due to our numbers!”

As the army advanced through the narrow valley of Ḥunayn at dawn, the enemy tribes of Hawāzin and Thaqīf were waiting in ambush on the surrounding cliffs. Their downhill charge threw the Muslims into confusion, and much of the Muslim force fled, each assuming others would maintain the front line, but in reality everyone was retreating. This is often the case—everyone assumes someone else will take responsibility, and meanwhile the gaps in the line are exposed and vulnerable to attack. 

Here, the Prophet ﷺ called his uncle Al-ʿAbbās, a man known for his booming voice, and instructed him to cry out to specific groups of people: “Yā aṣ-ḥāb as-Samarah! Yā aṣ-ḥāb Sūrat al-Baqarah! Yā maʿshar al-Anṣār!” “O people of the tree! O people of Surah al-Baqarah! O People of the Ansar!” The believers who heard the call immediately rallied to the Prophet’s ﷺ side quick as a mother camel rushing to her calf, reminded of their responsibility to the religion of Allah and of the pledge they had once made. 

The Prophet ﷺ did not call out generally to all the Muslims, to “People of Surah al-Fatihah” for example, for then the sense of responsibility would have been diffused among the larger crowd. Instead, he appealed to the specific identities of people who had taken on a higher level of commitment—those who understood that Islam depended on them and who saw themselves as its guardians.

Finding Shelter

The Prophet ﷺ said of this first man, who searched until he found a gap in the circle and sat in it—“He sought shelter with Allah, so Allah sheltered him.” What a remarkable shift in perspective to see opportunities to do good and to serve as our shelter and place of safety, rather than the other way around. When you find a place to serve, learn, and contribute, that becomes your true home. You may return to your physical home each night to rest, but your real refuge, comfort, and salvation will lie in the spaces where you are actively serving Allah. What fresh energy and spirit might we bring to volunteering, leading, and learning when we make this collective shift in consciousness?

When you stand on the gaps and frontiers of Islam you enter within the protection and shelter of Allah, even though you experience spiritual and material struggle. From there, your perspective widens and your resources begin to grow. By showing up and remaining on that frontier, you start to see new openings to serve creatively. You find yourself surrounded by the best people who support you, sharpen you, and help you stay sincere.

Although you are responsible for filling the gaps, Allah does not need you to bring victory to the Muslims. It is you who needs to show up in order to succeed in this life and the hereafter. Without the chance to work for the sake of Allah and join righteous gatherings, you sit homeless and without shelter. You need the shelter and safety that come with working, learning, and giving for the sake of Allah. Do not pull away from the circles and spaces of knowledge, service, and sacrifice, even when they feel crowded, tiresome, or uncomfortable. Otherwise, you may find yourself left behind without refuge and with opportunities slipping away.

Shy but showing up

The second man presents another profile for us to study: someone with a less confident, less capable disposition. He was hesitant to push his way into the crowd, or couldn’t see the gaps, or lacked the confidence to reach them. He possessed sincerity and good intentions, but lacked the initiative or know-how. Still, he stayed. He was shy to turn away from a gathering of the Prophet ﷺ, a place where Allah was being remembered. He knew that even if he couldn’t be fully engaged in the gathering, there was some good in, at the very least, not turning away. In today’s communities as well as the time of the Prophet ﷺ, we can find many examples of these types of personalities: limited in vision or capacity, but sincere. 

The phrase “he was shy, so Allah was shy from him” is overwhelming to ponder. Allah is far too gracious to leave such a person without shelter or reward, even if they did not fully participate. They are like a hesitant, uninvited guest, unsure of how to enter, yet embraced by a Host so generous He would never leave anyone standing outside in the night.

A story that highlights the inconspicuous, sometimes less resourceful personality is the following: After one of the major battles, ʿUmar ibn al-Khattab asked for the names of those who had been martyred. The prominent names were mentioned first, and then the people added, “And there were others martyred whom you didn’t know, and whom we do not know.” These names were of individuals who were not outstanding in the worldly sense—whose names were unfamiliar, whose deeds were quiet, and whose contributions were largely unseen.

ʿUmar immediately understood the meaning behind this: failing to stand out in this world or to leave a memorable legacy does not determine one’s rank with Allah in the Hereafter. So he replied, “It is no harm to them that ʿUmar does not know them, when the Lord of ʿUmar knows them.”

If we cannot be among those who stride forward, seeking out opportunities to do good and to lead, then let us at least be among those too ashamed to walk away.

Turning Away

On the surface, what the third man did seems like such a simple act: turning away, walking back out the door, deciding it was inconvenient or too much effort. The Prophet ﷺ demonstrated to us that even something as seemingly trivial as walking away can have repercussions in our standing before Allah. “…He turned away, so Allah turned away from Him,” and in another narration, “He felt no need, so Allah had no need of him.”

Remember that this man approached with a good intention, intending to join the gathering of the Prophet ﷺ. However, he was weak and half-hearted, ready to leave at the first difficulty. Be it from a harsh glare, a snubbed ego, feeling unnoticed, crowded, or uncomfortable, such a person is looking for the slightest excuse to leave and give up. 

Whatever you do, do not turn away. Let us think twice before saying no, stepping back, or dropping the ball. Avoid the mentality of “someone else will do it.” Such choices are not purely personal; Allah observes how we respond to opportunities for good, and He responds to us accordingly.

This does not mean we must attend everything or overextend ourselves to the point of exhaustion. But if we do turn away from a noble deed and project, let it only be because we are turning toward something better. Otherwise, we should remember that we are the ones most in need of that opportunity—it is our shelter and our gap to fill. We should feel shy before Allah for abandoning the opportunity that He presented us with. 

Lessons from the three men in the masjid

Practical Applications Today

This hadith does not only describe three men in the Prophet’s ﷺ mosque; it maps out three spiritual postures that appear in every community, and often within the same person at different moments of their life. The question is not simply, “Which one am I?” but, “Which one am I becoming more often, and what am I training my heart toward?”

1. Training Ourselves to Step Forward

From the first man, we learn the habit of looking for the gap and filling it. Spiritually, this means cultivating a default posture of initiative and approach, not avoidance. When we enter a mosque, an organization, gathering, or project, we ask, “What is needed here, and how can I help?” We learn to accept the small, unglamorous roles: straightening rows, welcoming newcomers, replying to a message others ignored. We begin to see every gap as a frontier where we might stand guard and receive shelter with Allah.

This mindset cannot emerge overnight. Rather, it is a muscle we train by repeatedly choosing to step forward and engage with the community and with opportunities to serve Islam, rather than drifting to the edges. 

2. Appreciating the Shy but Present

From the second man, we learn not to underestimate the shy, the unsure, and the less resourced, whether that be our own selves or the people around us. Communities flourish not only through the heroic initiatives of a few, but through the quiet loyalty and consistency of many ordinary people. 

Some hearts are full of sincerity but short on confidence or competence. They do not always know how to insert themselves, and they may never be the loudest voice in the room. Yet the Prophet ﷺ shows us that simply refusing to walk away from a place where Allah is remembered carries immense weight: “He was shy, so Allah was shy from him.”

Practically, this means: if all you can manage is to sit quietly in a halaqah or show up at meetings without contributing much, do not belittle that. For leaders and organizers, it means not overlooking the quiet ones: invite them by name, assign them roles, and recognize their attempts to help and show up. 

3. Guarding Against the Habit of Turning Away

From the third man, we learn to be wary of a subtle, dangerous habit: making it easy for ourselves to walk away from good. This example is not about an enemy of Islam; it is about someone who came with a good intention, then allowed minor challenges to justify withdrawal.

Modern life has made us all restless and easily bored. We are surrounded by endless alternatives and distractions, making it easy to say, “another day,” “someone else will do it,” or “this is too uncomfortable.” Over time, this forms a spiritual pattern of turning away, which the Prophet ﷺ warns can be met with Allah turning away from us.

In practice, this means: 

  • Before saying no, ask yourself honestly: “Am I turning away from this good toward something better—or just toward comfort?” 
  • If you must step back from one commitment, consciously anchor yourself in another: trade one form of service or learning for another, rather than drifting into nothing.

Parents, teachers, and mentors can help younger generations resist this habit of giving up and turning away by:

  • Teaching them to finish what they start.
  • Encouraging them to push through boredom  and minor discomfort.
  • Recognizing and praising consistency and showing up as a virtue.

4. Reimagining Our Mosques as Spaces for Development

As we saw before, the hadith also challenges us to rethink our institutions and arenas of Islamic work. Our mosques, Islamic centers, halaqahs, camps, and service projects are not mere venues—they are the tarbiyah classrooms of our time. The prayer hall should be seen as a training ground where people learn how to sit, listen, respond, and care for one another. The board meeting, the volunteer chat group, the youth circle, the Sunday school—all of these are frontiers where gaps either remain exposed or are faithfully guarded.

Aligned with this, leaders can:

  • Make it easy for people to move from the back to the front—from passive attendance to contribution.
  • Regularly articulate the need for people to step forward: “This community needs you. There are gaps only you can see from where you stand.”
  • Normalize some level of discomfort—crowds, noise, imperfect logistics, insufficient refreshments—as signs of vibrancy rather than failure or reasons to stay home.

Conclusion

The Prophet Muhammad ﷺ was granted jawāmiʿ al-kalim—concise words whose meanings are ocean-deep. Some of the hadith address specific circumstances, others present universal principles, and still others offer profound parables that expand our understanding. His commentary on revelation and daily life happenings contain layers upon layers of meaning, inviting us to rethink how we approach decisions in our own lives. 

From this hadith, we learn that every time a door of good opens—a halaqah, a volunteer opportunity, a visit to someone ill, a chance to donate, an opportunity to attend a funeral prayer—we stand in the doorway like one of these three men. We can step forward, we can hover shy but present, or we can quietly turn away. 

May Allah make us among those who seek shelter with Him and are sheltered, among those who are shy to turn away from His gatherings, and never among those from whom He turns away. May He place us on the frontiers He has chosen for us, allow us to fill the gaps with sincerity, and accept from us even our hesitant steps.

Footnotes

  1. Sahih al-Bukhari 66, Bab al-Ilm, Chapter of Knowledge.
  2.  Sunan Ibn Mājah 995.
  3. Muḥammad b. Naṣr al-Marrūzī, al-Sunna, no. 28–30