Touching or wiping the کعبۃ اللہ's cloth (Kiswah), its walls, or its corners — other than the حجر اسود and the Yemeni Corner — has no basis in the Sunnah and is considered an innovation by the majority of scholars. نبی کریم (صلی اللہ علیہ وسلم) only performed istilam (ritual touching/kissing) of the حجر اسود, and he would touch the Yemeni Corner with his hand without kissing it. He deliberately did not touch the other two corners (the Iraqi and Shami corners) or the walls of the کعبۃ اللہ.
Sheikh Ibn Baz stated that many حجاج mistakenly rub the کعبۃ اللہ's cloth on their bodies, wipe their faces against the walls, or press their chests against the cloth believing it carries blessings (barakah). None of this was practiced by نبی کریم, and it has no basis in authentic evidence. The blessings of the کعبۃ اللہ are in performing طواف around it, praying near it, and making دعا facing it — not in physical contact with its cloth or walls.
Sheikh Al-Albani emphasized that نبی کریم, who loved the کعبۃ اللہ more than anyone, only touched the حجر اسود and the Yemeni Corner. When Umar ibn al-Khattab kissed the حجر اسود, he said: 'I know that you are a stone and can neither benefit nor harm. Had I not seen the Messenger of Allah kissing you, I would not have kissed you.' This demonstrates that the touching is purely an act of following the Sunnah, not a belief that the stone itself holds power or blessings.