We came to the Prophet ﷺ as a group of young men close in age, and we stayed with him for twenty days and nights. The Messenger of Allah ﷺ was merciful and gentle. When he sensed that we had grown longing for our families, or that we had become homesick, he asked us about those we had left behind, and we told him.He said, "Return to your families, stay among them, teach them, and instruct them." He mentioned things, some of which I remember and some I do not. "Pray as you have seen me pray. When the time for prayer comes, let one of you call the adhan, and let the eldest among you lead the prayer."
أتينا إلى النبي ﷺ ونحن شببة متقاربون، فأقمنا عنده عشرين يوما وليلة، وكان رسول الله ﷺ رحيما رفيقا، فلما ظن أنا قد اشتهينا أهلنا- أو قد اشتقنا- سألنا عمن تركنا بعدنا، فأخبرناه قال: ارجعوا إلى أهليكم، فأقيموا فيهم وعلموهم، ومروهم وذكر أشياء أحفظها، أو لا أحفظها- وصلوا كما رأيتموني أصلي، فإذا حضرت الصلاة فليؤذن لكم أحدكم وليؤمكم أكبركم.
Bukhari related it in the Book of Adhan (631), and this is his wording, and Muslim related it in the Book of Mosques (674), both of them from Abu Qilaba, from Malik bin Huwayrith, who narrated something similar, but Muslim did not mention, "Pray as you have seen me praying." This hadith has already been mentioned in the chapters on adhan, and it will also come again in the chapter on raising the hands at ruku and when rising from it.