“Pearls” have exactly the same metaphorical referent in both verses.

The Ḥulwān Maqāmah: Doubt, Proof and a Contest of Poetry