In this letter, we propose an UAV-based relaying system with energy harvesting functionality. In particular, we assume that this system is operated in urban communication environments, where the channel between the UAV and the land destination is modeled as shadowed-Rician fading or shadowed-Rayleigh fading. Based on this setting, outage probability analysis for different urban environment parameters is derived. Finally, Monte Carlo simulations are conducted to verify the accuracy of our analytical results.