Ali al-Bariqi (may Allah have mercy on him) said that he asked Sayyiduna Ibn Umar (may Allah be pleased with them both) about cheese, and he said: "Eat what the Muslims and the People of the Book make." A similar report has also been transmitted from Sayyiduna Abdullah bin Abbas and Sayyiduna Anas bin Malik (may Allah be pleased with them).
Note: A young kid that is still suckling is slaughtered, and then something is taken out of its stomach; after being steeped in a cloth, it becomes like cheese, which people eat like cheese. If the animal was slaughtered by Magians or idol-worshippers, eating it is not permissible. Likewise, if the young kid dies, it is not permissible to make anything like cheese from it.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الضحايا / 19693