Ibn Khuzaimah dedicated a chapter of his book “The Sah?h” for this issue and titled it with “Tucking up clothes in Sal?t”. (1)
An-Nawaw? said: ‘The ‘Ulamah agreed that it is a forbidden act to tuck up clothes, roll up sleeves or the like in Sal?t’. (2)
Im?m M?lik said -concerning rolling up sleeves, then performing Sal?t in such a state: ‘If one did this act while working then started his Sal?t in such a state, it is all right but if he did it intentionally for doing Sal?t or during it then there is no good in it’. (3)
In my opinion, the prohibition mentioned in the had?th is a general one whether one tucks up his clothes or collects his hair before or during doing Sal?t.
An-Nawaw? said: ‘Tucking up clothes or collecting hair is something detested. If one does Sal?t in such a state, he has done something bad but his Sal?t is correct and valid. Ab? Ja’far, Muhammad Ibn Jar?r At-Tabar? held this opinion and related the ‘Ulamah’s unanimous agreement on it. Ibn Al-Munthir related from Al-Hasan Al-Basri that if one does such an act and then performed Sal?t, he should repeat it’. (4)
Then he continued saying: ‘Al-Jumh?r’s opinion is that this prohibition is a general one whether it is done intentionally for Sal?t or before it’. Ad-D?w?dy, however, said: ‘The prohibition is addressed to those who do this act intentionally for Sal?t. The sounder opinion is the first one, which was held by the Sah?ba and others’. (5)
(1) “Sah?h Ibn khuzaimah” (vol. 1 / p. 383).
(2) “Sharh Sah?h Muslim” (vol. 4 / p. 209).
(3) “Al-Mudawwanah Al-Kubr?” (vol. 1 / p. 96).
(4) Sharh Sah?h Muslim (vol. 4 / p. 209).
(5) The previous reference.