As for blacksmithing, it is because it catches fire quickly, so they would use it to kindle the fire for the charcoal and wood.
As for graves, they would place it between the bricks to prevent soil from reaching the deceased.
And as for houses, they would place it over the palm fronds so that the clay would not seep through the fronds and cause the roof to collapse.
People are in need of it. The reason for this exception was al-ʿAbbās ibn ʿAbd al-Muṭṭalib, may Allah be pleased with him. When the Prophet ﷺ prohibited cutting its herbage, he said, “O Messenger of Allah, except for idhkhir, for it is used in their houses and graves” (1). In another wording: “for their houses and their blacksmiths” (2)—that is, their blacksmiths. So he said, “Except for idhkhir.” Accordingly, idhkhir is excepted from the living trees and herbage.
Issues:
The first: truffles, al-ʿasāqil, banāt al-awbar, and similar things, such as what people call al-fuṭayṭir: are they prohibited or not?
Answer: They are not prohibited, because they are not trees. Truffles, al-ʿasāqil, and banāt al-awbar are varieties that fall under one genus, namely al-faqʿ. They are therefore lawful, since they are neither trees nor herbage and thus do not fall under the prohibition.
The second: The author, may Allah have mercy on him, did not mention the compensation due for these