Instead of telling him stop running, tell him please walk.
You can try explaining to him that it is dangerous to dash towards the bus. Remind him before going out and/or when walking, that we will walk towards the bus or stop to look at the bus when the bus comes, etc. consistent and constant reminders are important.