diff --git a/bilby/core/prior/base.py b/bilby/core/prior/base.py
index db5880da1a3cf77e67aff29fe9a8bdf2f2e69892..802d5f6f12f0ed15e44b76514809832c406f16f3 100644
--- a/bilby/core/prior/base.py
+++ b/bilby/core/prior/base.py
@@ -68,6 +68,9 @@ class Prior(object):
         if sorted(self.__dict__.keys()) != sorted(other.__dict__.keys()):
             return False
         for key in self.__dict__:
+            if key == "least_recently_sampled":
+                # ignore sample drawn from prior in comparison
+                continue
             if type(self.__dict__[key]) is np.ndarray:
                 if not np.array_equal(self.__dict__[key], other.__dict__[key]):
                     return False