Comprehension, language, and application

What does «لَهُ» convey in «مَنْ كَانَ لَهُ شَعْرٌ»?

Rights of Guests and Neighbors, Worship, Sincerity, and Responsible Care (Hadith 246–252)