The transaction involves the acquisition of shares, which is an investment activity. Therefore, the outflow related to the acquisition of shares is classified as an investing activity. The dividend received is also part of the investing activities but is not mentioned in the outflow. Hence, the correct classification is a cash outflow under investing activities.