All perfect praise be to Allaah, The Lord of the worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad, sallallaahu ‘alayhi wa sallam, is His slave and Messenger.
It is an act of Sunnah that the Muslim eats, gives away and gifts from his Udh-hiyah. This includes its meat, its skin and other parts. Therefore, it is an act of Sunnah to give the skin of the Udh-hiyah as charity and there is no harm in using them as rugs for the Masjid.
Allaah Knows best.