A passerby caught the moment an elderly man was exercising