In this paper, we study the production of charmonium pentaquark $c \bar c q q q$ from bottom baryon and B-meson decays under the flavor SU(3) symmetry. Decay amplitudes for various processes are parametrized in terms of the SU(3) irreducible nonperturbative amplitudes. A number of relations between decay widths have been deduced. Moreover, the strong decays of pentaquark is also taken into account. These results can be tested in future measurements at LHCb, Belle II and CEPC. Once a few decay branching fractions have been measured, our work could provide hints for exploring new decay channels or new pentaquark states. Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI. Article funded by SCOAP3 and published under licence by Chinese Physical Society and the Institute of High Energy Physics of the Chinese Academy of Science and the Institute of Modern Physics of the Chinese Academy of Sciences and IOP Publishing Ltd.