A pig's hide can be purified and used for prayer if it undergoes thorough chemical tanning.

Purification of Hides (الدباغة) & Special Substances (Musk, Civet)