This hadith has been transmitted by Ibn Abi Shaiba.

Sahih Muslim Book 5 Hadith 50

Sahih Muslim #541 b

The Book of Mosques and Places of Prayer 5:50

This hadith has been transmitted by Ibn Abi Shaiba.

Chapter: The permissibility of cursing the Shaitan during prayer, and seeking refuge with Allah from him; and the permissibility of doing a few actions while in salat

Grade: Sahih