Riyad as-Salihin #1756 · The Book of the Prohibited actions

Riyad as-SalihinAnas ibn Malik
Riyad as-Salihin · Book 18 · The Book of the Prohibited actions
Riyad as-Salihin · كتاب 18 · كتاب الأمور المنهي عنها
The Messenger of Allah (صلى الله عليه وسلم) said to me, "Beware of looking around in Salat (prayer), because random looks in Salat are a cause of destruction. If there should be no help from it, it is permissible in the voluntary and not in obligatory Salat." [At-Tirmidhi] .
وعن أنس رضي الله عنه قال: قال لي رسول الله صلى الله عليه وسلم :
"إياك والالتفات في الصلاة، فإن الالتفات في الصلاة هلكة، فإن كان لابد، ففي التطوع لا في الفريضة" .((رواه الترمذي وقال حديث حسن صحيح)).
Reference : Riyad as-Salihin 1756In-book reference : Book 18, Hadith 246