Does voluntary weeping, moaning, or groaning that is not due to the fear of Allah invalidate prayer?
Chapter on the Two Prostrations of Forgetfulness
Al-Mughni
Book of Prayer
Primary text
If weeping, moaning, or groaning is done voluntarily and is not motivated by the fear of Allah, it invalidates the prayer.