Answered by Sayyidi Habib Umar bin Hafiz (may Allah protect him and benefit us by him)
Does the Prophet know every member of his Ummah? Does he know my name and does he know that I am Muslim, just as he knew the Companions?
Allah displayed the whole Ummah to the Prophet ﷺ, then He displayed to him all of their actions large and small. Their actions are displayed to him at all times: Say: act, for Allah will see your actions along with His Messenger and the believers. (Al-Tawbah, 9:105)
Today there are tiny chips that can store vast amounts of information but this is nothing compared to the knowledge of Allah. What should concern us is not merely that the Prophet knows us and our names but that he knows us to have truthfulness, to have etiquette, to be acting according to his counsels. Does he know you to be truthful or to be a liar? Does he know you to be sincere or to be ostentatious? We should ask ourselves these questions and remember It is more fitting that they please Allah and His Messenger if they are truly believers. (Al-Tawbah, 9:62)
May Allah bless us with complete and true faith.