It is permissible to take up lost property in the Haram if it is of little value
Machine translationRead the Arabic original
Question: I found lost property in Makkah, about ten to fifteen riyals. What is its ruling?
Answer: Trivial lost property that has no value: if you identify it, there is no harm; if you eat it, there is no harm; if you give it in charity, there is no harm. This is because it is trivial and does not warrant the effort of identifying it. Ten, twenty, thirty, or the like—this kind of lost property today has no significance. So if you give it in charity on behalf of its owner, there is no harm; if you use it, there is no harm; and if you leave it, there is no harm.
The same applies to shoes; their matter is easy if they are thrown away in places where no one wants them.
Answer: Trivial lost property that has no value: if you identify it, there is no harm; if you eat it, there is no harm; if you give it in charity, there is no harm. This is because it is trivial and does not warrant the effort of identifying it. Ten, twenty, thirty, or the like—this kind of lost property today has no significance. So if you give it in charity on behalf of its owner, there is no harm; if you use it, there is no harm; and if you leave it, there is no harm.
The same applies to shoes; their matter is easy if they are thrown away in places where no one wants them.
Source
binbaz.org.sa
The Arabic text is copied verbatim from the original source, without any edits.
