Source identified1
“Be not hasty in thy spirit to be angry: for anger resteth in the bosom of fools.”
The warning treats speed itself as part of the danger of anger: delay creates room for judgment before emotion hardens into conduct.
Source note: Ecclesiastes 7:9 in the King James Version.