Where is this guideline that you refer to? Players are able to take quick free kicks from anywhere apart from a penalty. They only have to wait for a whistle if the ref has previously held the whistle up an pointed to indicating that play will restart on the whistle.
Which he did