Nafi' says: Sayyiduna Ibn Umar (may Allah be pleased with him) prayed sitting cross-legged because of pain.