How to stand in fardh salah by jamat need to foot with the foot of companion or shoulder to shoulder of companion?
بسم الله الرحمن الرحيم
(Fatwa: 255/255/M=03/1437)
One should stand shoulder to shoulder so that there is no gap in-between and ankle also should be placed accordingly, but it is not necessary to join them.
عن ابن عمر رضي الله عنه قال قال رسول الله عليه وسلم : أقيموا الصفوف و حاذو بين المناكب وسدوا الخلل ولينوا بأيدى اخوانكم ولا تذروا فرجات الشيطان و من وصل صفاً وصله الله ومن قطعه قطعه الله. (مشكوة شريف ص 99 باب تسوية الصفوف). (آپ کے مسائل اور ان کا حل 3/406)
Allah knows Best!
Darul Ifta,
Darul Uloom Deoband