Bismillaah:

Abu Hurairah رضي اللّه عنه said:

The Prophet صلي الله عليه وسلم said:

" When one of you goes to his bed, let him dust off his bed with the inside of his lower garment, for he does not know what came onto it after he left it.

Takhreej:

{ Imam Al Bukhari #6320 and Muslim #2714 in their Saheeh }

Imam Al Nawaawi رحمه الله commented:

" The inside of his lower garment” means its edge. What is meant is that it is recommended to dust down his bed before lying on it, lest there be harmful thing in it. And he should dust it down with his hand covered by the edge of his lower garment, lest something bad happen to his hand if there is anything there."

{ Al Minhaaj Sharh Saheeh Muslim }

Dusting down the bed may be done with the edge of one’s garment or with something else.

*** And Allaah عزوجل knows best ***