Yahya related to me from Malik from Nafi that Abdullah ibn Umarused to say, "When a sick man is unable to prostrate he should motionwith his head, and not raise anything to his forehead." (ID)
USC-MSA web (English) reference: Book 9, Hadith 77 (ID)
Arabic reference (ID): Book 9, Hadith 408 (ID)