1:6
وأصح ما وقفت عليه من ذلك [ أن ] الصحابي من لقي النبي صلى الله عليه وسلم مؤمنا به ، ومات على الإسلام ؛ فيدخل فيمن لقيه من طالت مجالسته له أو قصرت ، ومن روى عنه أو لم يرو ، ومن غزا معه أو لم يغز ، ومن رآه رؤية ولو لم يجالسه ، ومن لم يره لعارض كالعمى . ويخرج بقيد الإيمان من لقيه كافرا ولو أسلم بعد ذلك إذا لم يجتمع به مرة أخرى . وقولنا : ' به ' يخرج من لقيه مؤمنا بغيره ، كمن لقيه من مؤمني أهل الكتاب قبل البعثة . وهل يدخل من لقيه منهم وآمن بأنه سيبعث أو لا يدخل ؟ محل احتمال . ومن هؤلاء بحيرا الراهب ونظراؤه . ويدخل في قولنا : ' مؤمنا به ' كل مكلف من الجن والإنس ؛ فحينئذ يتعين ذكر من حفظ ذكره من الجن الذين آمنوا به بالشرط المذكور ، وأما إنكار ابن الأثير على أبي موسى تخريجه لبعض الجن الذين عرفوا في كتاب الصحابة فليس بمنكر لما ذكرته .
The soundest definition I have come across on this is that a Companion is one who met the Prophet ﷺ as a believer in him and died as a Muslim. So there enters among those who met him: one whose sitting with him was long or short, one who narrated from him or did not, one who campaigned with him or did not, one who saw him with a glance even if he did not sit with him, and one who did not see him because of an impediment such as blindness. By the stipulation of belief there is excluded one who met him as an unbeliever, even if he became a Muslim afterwards, when he did not meet him another time. Our words "in him" exclude one who met him as a believer in someone other than him, such as one of the believers among the People of the Book who met him before the mission. As for one among them who met him and believed that he would be sent, whether he enters or does not enter is a matter open to possibility. Among these is Bahira the monk and his like. Our words "as a believer in him" include every person bound by the law, from the jinn and from mankind. So at that point it becomes necessary to mention those of the jinn whose mention has been preserved, who believed in him under the stated condition. As for Ibn al-Athir's denunciation of Abu Musa for including in the book of the Companions some of the jinn who were known, it is not wrongdoing, in view of what I have mentioned.
Indicative translation