Hirad bin Tariq (may Allah be pleased with him) said: I came with Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) from the morning prayer. While he was still in the market, he heard the sound of a newborn baby crying. He stood over it and saw that its mother was beside it. He asked her: "What is your situation?" The woman said: "I came to this market for some need, and labour came upon me, and I gave birth to a boy." The narrator said: The woman was beside a house belonging to some people in the market. Sayyiduna Umar (may Allah be pleased with him) asked: "Did the people of this house take notice of you?" And he said: "May Allah not ruin the people of this house. If I learn that they knew of you and then gave you no help, I would deal with them." Then he called for a drink of sawiq (barley-meal water) for her and said: "Drink this; it will remove the breathing trouble, cleanse the intestines and set the veins right." Then we entered the mosque and prayed with the people.
One narration has the words: "If I knew that they had taken notice of you but gave you no benefit, I would have set fire to them."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب اللقطة / 12132