Constraints on the intrinsic charm probability $wccm = P_{{mathrm{c}bar mathrm{c}} / mathrm{p}}$ in the proton are obtained for the first time from LHC measurements. The ATLAS Collaboration data for the production of prompt photons, accompanied by a charm-quark jet in pp collisions at $sqrt s = 8 $ TeV, are used. The upper limit mbox{$wccm < 1.93$~%} is obtained at the 68~% confidence level. This constraint is primarily determined from the theoretical scale and systematical experimental uncertainties. Suggestions for reducing these uncertainties are discussed. The implications of intrinsic heavy quarks in the proton for future studies at the LHC are also discussed.