A person must physically see the Prophet ﷺ with their eyes at the meeting to qualify as a Companion.

Companions, Successors, Mukhāḍramūn, and Attribution of Reports