—2026-12-03 · 7 min read · 2 of 132

Straightening the Rows in Prayer: What 'Shoulder to Shoulder' Means, and Why Closeness Feels Awkward Before It Feels Safe

Straightening the rows in prayer means standing shoulder to shoulder and filling the gaps. Here is what the hadith says, and why that closeness feels awkward at first.

The first time it happens, most of us flinch. You are standing in the row, the imam says the takbir, and the stranger beside you slides his foot sideways until it rests against yours. Or you feel a shoulder settle against your shoulder. Every instinct you own says: too close. Move. Many people do move. They shuffle a few inches away and leave a small, polite gap that nobody asked for and everybody can feel.

That gap is the subject of a surprisingly firm teaching. It is also a small window into something we rarely say out loud: that most of us are more hungry for closeness than we are comfortable with it.

What the Prophet ﷺ actually said about the rows

The teaching is well documented. In the collections of Bukhari and Muslim, the Prophet ﷺ said: "Straighten your rows, for straightening the rows is part of the perfection of prayer." In another narration he ﷺ said that straightening the rows is part of establishing the prayer.

Then comes the line that makes people pause. Nu'man ibn Bashir reported that the Prophet ﷺ said, "Straighten your rows, or Allah will cause disagreement among you." Some narrations phrase it as a difference between your faces or hearts. The classical commentators generally read it as a warning that outward disorder in the row can mirror and feed inward division.

Anas ibn Malik described what the Companions did in practice. In Bukhari, he says each of them would press his shoulder and foot against his companion's. He also adds, with a touch of sadness, that if you tried that with people now, they would run off like wild mules. That sentence is old, which tells you the awkwardness is not new.

What scholars say, without the drama

The wording "shoulder to shoulder, foot to foot" is often read as emphasis on closeness and on leaving no gaps, rather than a demand that bodies be clamped together. Scholars differ on the details. Some stress actual contact. Others stress that the point is to close the gaps so that no space is left for disruption, and not to force contact that hurts or crowds someone.

A few practical points are widely accepted:

  • Fill the gap in front of you if you see one. The hadith praises those who complete the first row and those who close breaks in a row.
  • Do not push or shove. Closing a gap should be gentle, and a person's comfort and dignity still matter.
  • Stand straight, level with the person beside you, rather than ahead or behind.
  • Where there is a real reason for distance, such as illness, a crowded or tight space, or an urgent public health concern, scholars have permitted spacing. The ruling bends for the reason and returns when the reason ends.

If you want a precise ruling for your own situation, ask a teacher you trust. What follows is about the experience, not the fatwa.

Why closeness feels wrong before it feels right

The anthropologist Edward Hall coined the term proxemics in the 1960s for how people use space as a silent language. He described zones of distance: an intimate zone, a personal zone, a social zone and a public one. Strangers are normally expected to stay in the outer rings. When someone enters a zone they have not been invited into, the body registers it before the mind has any opinion.

That is the flinch. It is not rudeness and it is not a lack of faith. It is a perfectly normal alarm that the row asks you to override, gently and on purpose.

Here is the interesting part. Touch is also one of the oldest ways humans signal safety and belonging. Brief, non-threatening contact tends to settle people when it arrives in a context that makes sense. The row supplies that context. Everybody is facing the same direction and saying the same words. Nobody is performing for anyone. The contact has a meaning before it has time to become strange.

So the discomfort works in two stages. First the alarm, then, if you stay, a slow quieting. Many people who push through the first week report that the closeness stops feeling like an intrusion and starts feeling like being held in place.

What the gap says

Leaving a small gap is rarely about the other person. It is usually about us. We may be worried about our own smell, or that we are in the way. Some of us carry a quiet belief that we are not quite the sort of person someone would want to stand next to.

The row answers that without a word. The person beside you did not choose you from a lineup. They stepped into the space that was there, and so did you. Nobody checked your résumé, your family, or how well you pray. You are simply part of the line.

That may be why the hadith links the row to hearts. A community that cannot stand close in its most intimate shared act will find it hard to stand close in anything else.

Your next moves

  • Notice your own gap today. At your next congregational prayer, before the takbir, check whether there is a space beside you. Do not judge it. Just notice it.
  • Close one gap gently. If the person beside you is a few inches away, shift your foot toward theirs, slowly and with a small nod or smile. Do not push or pull anyone.
  • Fill the front first. Walk to the first incomplete row instead of starting a new one behind it. If there is a gap in an earlier row, step into it.
  • Say it kindly if you must say it. If someone beside you is far off, a quiet "would you mind moving over a little?" before prayer works better than a tap during it. Our own earlier lesson on correcting prayer without humiliation applies here too.
  • Prepare your own body. Trim your nails, wear clean socks, and keep a little fragrance-free freshness in your clothes. A lot of the flinch is the fear of being the one who is hard to stand next to.
  • If closeness truly is hard for you, because of anxiety, past trauma, a medical condition or a crowded space, stand at the end of a row or ask the imam or a teacher what your situation allows. A rule meant for mercy should not become a wound.

What this does when it becomes a habit

The first few times, the row can feel like a test of nerves. By the tenth, you may notice you have stopped thinking about the stranger's foot, and begun thinking about the words. By the fiftieth, you may notice something else: when the gap appears, you move into it without being asked.

That is the idea worth taking from the teaching. We usually think of community as something we feel. The row suggests it is first something we do with our bodies, and the feeling follows.

Keeping the five daily prayers in congregation is hard enough without the logistics, which is where a quiet tool helps. Athan gives you accurate prayer times and a reliable Qibla for wherever you are, with no ads and no tracking, so the only thing left to think about is walking to the mosque and finding your place in the line. If that sounds useful, you can find it at athan.lumenlabs.works.

Athan

Your prayer times. Nobody else's business.

Get Athan on the App Store and Google Play.

See how Athan works

Keep reading

Athan: Your prayer times. Nobody else's business.