لِّذِي حِجْرٍ

لِّذِي حِجْرٍ is a phrase (شِبْهُ الجُمْلَةِ) consisting of a genitive particle and a possessive nominal compound

PhraseParticle / Noun / NounNounNoun Particle
شِبْهُ الجُمْلَةِجَارٌ وَمَجْرُوْرٌ وَهُوَ مُضَافٌ وَ مُضَافٌ إِلَيْهِمُضَافٌ إِلَيْهِاسْمٌ مَجْرُوْرٌ وَهُوَ مَضَافٌحَرْفُ جَرٍّ
PhraseCompoundPossessive NounGenitive noun + Noun possessedParticle of pulling down
  
for one of perceptionلِّذِي حِجْرٍ=حِجْرٍ+ذِي+لِّ
for one who possesses understandingunderstandingone who possessesfor
Surah/Below are the 2 verses in the holy Quran containing the compoundلِّذِي حِجْرٍ
Verse
89-5Are there (not) in these (oaths) a proof for men of understandingهَلْ فِي ذَلِكَ قَسَمٌ لِّذِي حِجْرٍ