This research prediction an unknown parameter in a specific probability distribution XShanker using two types of data: record values and the time between records. It compares the proposed prediction models in Bayesian statistical frameworks. The study is applied to real data on rainfall records. Findings suggest that record values and inter-record times from the XShanker distribution are effective in predicting future records.