Opportunistic beamforming (OBF) is a potential technique in the fifth generation (5G) and beyond 5G (B5G) that can boost the performance of communication systems and encourage high user quality of service (QoS) through multi-user selection gain. However, the achievable rate tends to be saturated with the increased number of users, when the number of users is large. To further improve the achievable rate, we proposed a multi-antenna opportunistic beamforming-based relay (MOBR) system, which can achieve both multi-user and multi-relay selection gains. Then, an optimization problem is formulated to maximize the achievable rate. Nevertheless, the optimization problem is a non-deterministic polynomial (NP)-hard problem, and it is difficult to obtain an optimal solution. In order to solve the proposed optimization problem, we divide it into two suboptimal issues and apply a joint iterative algorithm to consider both the suboptimal issues. Our simulation results indicate that the proposed system achieved a higher achievable rate than the conventional OBF systems and outperformed other beamforming schemes with low feedback information.